1234567891011121314151617 |
- include(CheckFunctionExists)
- find_path(DL_INCLUDE_DIR NAMES dlfcn.h)
- find_library(DL_LIBRARIES NAMES dl)
- if(DL_LIBRARIES)
- set(DL_FOUND TRUE)
- else(DL_LIBRARIES)
- check_function_exists(dlopen DL_FOUND)
-
-
- set(DL_LIBRARIES "")
- endif(DL_LIBRARIES)
|