mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
hm it seems cmake does not understand CYGWIN (=> UNIX)
This commit is contained in:
parent
534dc60672
commit
62d01d3cf4
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user