From f7a91b266d1461bd87069ad7e027546cdc383150 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Thu, 8 Apr 2010 10:52:39 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@114 ed2142bd-67ad-457f-ba7c-d818d4011675 --- Findltdl.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Findltdl.cmake diff --git a/Findltdl.cmake b/Findltdl.cmake new file mode 100644 index 0000000..ba0edc9 --- /dev/null +++ b/Findltdl.cmake @@ -0,0 +1,12 @@ +find_path(LTDL_INCLUDE_DIRS ltdl.h) + +message(${LTDL_INCLUDE_DIRS}) +SET(LTDL_NAMES ${LTDL_NAMES} ltdl) +MESSAGE(${LTDL_NAMES}) +FIND_LIBRARY(LTDL_LIBRARIES ${LTDL_NAMES} ) +INCLUDE(FindPackageHandleStandardArgs) + +FIND_PACKAGE_HANDLE_STANDARD_ARGS(LTDL DEFAULT_MSG LTDL_LIBRARIES LTDL_INCLUDE_DIRS) + +MARK_AS_ADVANCED(LTDL_INCLUDE_DIRS LTDL_LIBRARIES) + -- cgit v1.2.2