This commit is contained in:
Andy Cedilnik 2002-09-25 10:38:56 -04:00
parent 332c653586
commit 8d604d3421
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ MACRO(CHECK_LIBRARY_EXISTS LIBRARY FUNCTION LOCATION VARIABLE)
SET(MACRO_CHECK_LIBRARY_EXISTS_DEFINITION -DCHECK_FUNCTION_EXISTS=${FUNCTION})
TRY_COMPILE(${VARIABLE}
${PROJECT_BINARY_DIR}/CheckIfLibraryExists
${PROJECT_BINARY_DIR}
${CMAKE_ROOT}/Modules/CheckFunctionExists.c
CMAKE_FLAGS
-DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_LIBRARY_EXISTS_DEFINITION}