ENH: unix makefiles should work with cl
This commit is contained in:
parent
0a8ff83b66
commit
f2e2f23392
@ -78,7 +78,7 @@ SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
|
|||||||
# that is automatically copied into try_compile directories
|
# that is automatically copied into try_compile directories
|
||||||
# by the global generator.
|
# by the global generator.
|
||||||
SET(MSVC_IDE 1)
|
SET(MSVC_IDE 1)
|
||||||
IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
|
IF(CMAKE_GENERATOR MATCHES "Makefiles")
|
||||||
SET(MSVC_IDE 0)
|
SET(MSVC_IDE 0)
|
||||||
IF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
|
IF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
|
||||||
SET(CMAKE_VC_COMPILER_TESTS 1)
|
SET(CMAKE_VC_COMPILER_TESTS 1)
|
||||||
@ -183,7 +183,7 @@ IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
|
|||||||
SET(CMAKE_CL_64 0)
|
SET(CMAKE_CL_64 0)
|
||||||
ENDIF(CMAKE_COMPILER_RETURN)
|
ENDIF(CMAKE_COMPILER_RETURN)
|
||||||
ENDIF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
|
ENDIF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
|
||||||
ENDIF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
|
ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")
|
||||||
|
|
||||||
IF(CMAKE_FORCE_WIN64)
|
IF(CMAKE_FORCE_WIN64)
|
||||||
SET(CMAKE_CL_64 1)
|
SET(CMAKE_CL_64 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user