diff options
-rw-r--r-- | Modules/CheckLibraryExists.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckLibraryExists.cmake b/Modules/CheckLibraryExists.cmake index c2c9912..85cef36 100644 --- a/Modules/CheckLibraryExists.cmake +++ b/Modules/CheckLibraryExists.cmake @@ -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} |