summaryrefslogtreecommitdiffstats
path: root/Modules/CheckLibraryExists.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-25 14:38:56 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-25 14:38:56 (GMT)
commit8d604d34210cc9b7ef9124a17c4006bbea0db01f (patch)
treeb53c35acfef4dde86b03754ae91eea2e732e96a1 /Modules/CheckLibraryExists.cmake
parent332c6535868dbbc7306c06b812ad17e13bd39ea0 (diff)
downloadCMake-8d604d34210cc9b7ef9124a17c4006bbea0db01f.zip
CMake-8d604d34210cc9b7ef9124a17c4006bbea0db01f.tar.gz
CMake-8d604d34210cc9b7ef9124a17c4006bbea0db01f.tar.bz2
Cleanup
Diffstat (limited to 'Modules/CheckLibraryExists.cmake')
-rw-r--r--Modules/CheckLibraryExists.cmake2
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}