summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCXXSourceCompiles.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-27 14:55:52 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-04-27 14:55:52 (GMT)
commitf0e2563cc6f62bad24d444b45f131f3e290891cf (patch)
tree93b3ae4742ad9dbd6d04783fc2eb04a49c2accae /Modules/CheckCXXSourceCompiles.cmake
parenta275fefc857d95172778615866f6e21b92e6a594 (diff)
downloadCMake-f0e2563cc6f62bad24d444b45f131f3e290891cf.zip
CMake-f0e2563cc6f62bad24d444b45f131f3e290891cf.tar.gz
CMake-f0e2563cc6f62bad24d444b45f131f3e290891cf.tar.bz2
BUG: Use the extra definicions
Diffstat (limited to 'Modules/CheckCXXSourceCompiles.cmake')
-rw-r--r--Modules/CheckCXXSourceCompiles.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckCXXSourceCompiles.cmake b/Modules/CheckCXXSourceCompiles.cmake
index 30a97af..52a2217 100644
--- a/Modules/CheckCXXSourceCompiles.cmake
+++ b/Modules/CheckCXXSourceCompiles.cmake
@@ -36,7 +36,7 @@ MACRO(CHECK_CXX_SOURCE_COMPILES SOURCE VAR)
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.cxx
COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
- CMAKE_FLAGS
+ CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
"${CHECK_CXX_SOURCE_COMPILES_ADD_LIBRARIES}"
"${CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES}"
OUTPUT_VARIABLE OUTPUT)