ENH: add mingw test to cxx
This commit is contained in:
parent
b4c7f843f9
commit
c80faed7f6
|
@ -61,7 +61,13 @@ IF(NOT CMAKE_COMPILER_IS_GNUCXX_RUN)
|
|||
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log
|
||||
"Determining if the C++ compiler is GNU failed with "
|
||||
"the following output:\n${CMAKE_COMPILER_OUTPUT}\n\n")
|
||||
ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" )
|
||||
ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_GNU.*" )
|
||||
IF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_MINGW.*" )
|
||||
SET(CMAKE_COMPILER_IS_MINGW 1)
|
||||
ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_MINGW.*" )
|
||||
IF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_CYGWIN.*" )
|
||||
SET(CMAKE_COMPILER_IS_CYGWIN 1)
|
||||
ENDIF("${CMAKE_COMPILER_OUTPUT}" MATCHES ".*THIS_IS_CYGWIN.*" )
|
||||
ENDIF(NOT CMAKE_COMPILER_RETURN)
|
||||
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX_RUN)
|
||||
|
||||
|
|
Loading…
Reference in New Issue