diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-04-08 10:52:39 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-04-08 10:52:39 +0000 |
commit | f7a91b266d1461bd87069ad7e027546cdc383150 (patch) | |
tree | b8ed6538fe5f1e5c1b0cd2916462f44af7d1ea88 | |
parent | cd2802a05d0765e25aafd2e54b7271c6dd466d0a (diff) | |
download | opt-utilities-f7a91b266d1461bd87069ad7e027546cdc383150.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@114 ed2142bd-67ad-457f-ba7c-d818d4011675
-rw-r--r-- | Findltdl.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
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) + |