hm it seems cmake does not understand CYGWIN (=> UNIX)

This commit is contained in:
Gael Guennebaud 2009-01-12 19:39:50 +00:00
parent 534dc60672
commit 62d01d3cf4

View File

@ -158,7 +158,7 @@ SET(CTEST_BACKUP_AND_RESTORE TRUE)
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
if(WIN32 AND NOT CYGWIN)
if(WIN32 AND NOT UNIX)
#message(SEND_ERROR "win32")
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -G \"NMake Makefiles\" -DCMAKE_MAKE_PROGRAM=nmake")
SET (CTEST_INITIAL_CACHE "
@ -168,12 +168,12 @@ if(WIN32 AND NOT CYGWIN)
BUILDNAME:STRING=${EIGEN_BUILD_STRING}
SITE:STRING=${EIGEN_SITE}
")
else(WIN32 AND NOT CYGWIN)
else(WIN32 AND NOT UNIX)
SET (CTEST_INITIAL_CACHE "
BUILDNAME:STRING=${EIGEN_BUILD_STRING}
SITE:STRING=${EIGEN_SITE}
")
endif(WIN32 AND NOT CYGWIN)
endif(WIN32 AND NOT UNIX)
# set any extra environment variables to use during the execution of the script here: