diff options
Diffstat (limited to 'Findltdl.cmake')
-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) + |