fix order
This commit is contained in:
parent
a7098d1433
commit
ddc3c70641
@ -7,8 +7,8 @@
|
|||||||
IF(NOT CMAKE_STD_NAMESPACE)
|
IF(NOT CMAKE_STD_NAMESPACE)
|
||||||
MESSAGE(STATUS "Check for STD namespace")
|
MESSAGE(STATUS "Check for STD namespace")
|
||||||
TRY_COMPILE(CMAKE_STD_NAMESPACE ${PROJECT_BINARY_DIR}
|
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)
|
IF (CMAKE_STD_NAMESPACE)
|
||||||
MESSAGE(STATUS "Check for STD namespace - found")
|
MESSAGE(STATUS "Check for STD namespace - found")
|
||||||
SET (CMAKE_NO_STD_NAMESPACE 0 CACHE INTERNAL
|
SET (CMAKE_NO_STD_NAMESPACE 0 CACHE INTERNAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user