summaryrefslogtreecommitdiffstats
path: root/Modules/TestForSTDNamespace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/TestForSTDNamespace.cmake')
-rw-r--r--Modules/TestForSTDNamespace.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/TestForSTDNamespace.cmake b/Modules/TestForSTDNamespace.cmake
index 285ff4f..1bb8106 100644
--- a/Modules/TestForSTDNamespace.cmake
+++ b/Modules/TestForSTDNamespace.cmake
@@ -6,7 +6,7 @@
IF(NOT CMAKE_STD_NAMESPACE)
MESSAGE(STATUS "Check for STD namespace")
- TRY_COMPILE(CMAKE_STD_NAMESPACE ${PROJECT_BINARY_DIR}
+ TRY_COMPILE(CMAKE_STD_NAMESPACE ${CMAKE_BINARY_DIR}
${CMAKE_ROOT}/Modules/TestForSTDNamespace.cxx
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_ANSI_CXXFLAGS})
IF (CMAKE_STD_NAMESPACE)