From ddc3c706410c0363cb1b67950a54a85d6ec3893f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 21 Nov 2002 14:24:58 -0500 Subject: [PATCH] fix order --- Modules/TestForSTDNamespace.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/TestForSTDNamespace.cmake b/Modules/TestForSTDNamespace.cmake index 3fd018bbe..285ff4fa3 100644 --- a/Modules/TestForSTDNamespace.cmake +++ b/Modules/TestForSTDNamespace.cmake @@ -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