fix order
This commit is contained in:
parent
a7098d1433
commit
ddc3c70641
|
@ -7,8 +7,8 @@
|
|||
IF(NOT CMAKE_STD_NAMESPACE)
|
||||
MESSAGE(STATUS "Check for STD namespace")
|
||||
TRY_COMPILE(CMAKE_STD_NAMESPACE ${PROJECT_BINARY_DIR}
|
||||
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_ANSI_CXXFLAGS}
|
||||
${CMAKE_ROOT}/Modules/TestForSTDNamespace.cxx)
|
||||
${CMAKE_ROOT}/Modules/TestForSTDNamespace.cxx
|
||||
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_ANSI_CXXFLAGS})
|
||||
IF (CMAKE_STD_NAMESPACE)
|
||||
MESSAGE(STATUS "Check for STD namespace - found")
|
||||
SET (CMAKE_NO_STD_NAMESPACE 0 CACHE INTERNAL
|
||||
|
|
Loading…
Reference in New Issue