summaryrefslogtreecommitdiff
path: root/Modules/CheckLibraryExists.lists.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-24 16:36:56 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-24 16:36:56 -0400
commit3697ad6dc75db3b0f66ce9a2c0fba52c1602c4e9 (patch)
tree6b8e7893537774a792a83b287fd0139489cd3e6e /Modules/CheckLibraryExists.lists.in
parent8d14221f7e142d558828a7d160566c30dd46baa0 (diff)
downloadcmake-3697ad6dc75db3b0f66ce9a2c0fba52c1602c4e9.tar.gz
Initial attempt to check if library exists
Diffstat (limited to 'Modules/CheckLibraryExists.lists.in')
-rw-r--r--Modules/CheckLibraryExists.lists.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CheckLibraryExists.lists.in b/Modules/CheckLibraryExists.lists.in
new file mode 100644
index 0000000000..741b87d72c
--- /dev/null
+++ b/Modules/CheckLibraryExists.lists.in
@@ -0,0 +1,8 @@
+PROJECT(CHECK_LIBRARY_EXISTS)
+
+
+ADD_DEFINITIONS(-DCHECK_FUNCTION_EXISTS=${CHECK_LIBRARY_EXISTS_FUNCTION})
+LINK_DIRECTORIES(${CHECK_LIBRARY_EXISTS_LOCATION})
+ADD_EXECUTABLE(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_SOURCE})
+TARGET_LINK_LIBRARIES(CheckLibraryExists ${CHECK_LIBRARY_EXISTS_LIBRARY})
+