mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 11:39:48 +00:00
BUG: Use the extra definicions
This commit is contained in:
parent
a275fefc85
commit
f0e2563cc6
@ -36,7 +36,7 @@ MACRO(CHECK_C_SOURCE_COMPILES SOURCE VAR)
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.c
|
||||
COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS}
|
||||
CMAKE_FLAGS
|
||||
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_FUNCTION_DEFINITIONS}
|
||||
"${CHECK_C_SOURCE_COMPILES_ADD_LIBRARIES}"
|
||||
"${CHECK_C_SOURCE_COMPILES_ADD_INCLUDES}"
|
||||
OUTPUT_VARIABLE OUTPUT)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user