Kitware/VTK
ThirdParty/libproj/vtklibproj/cmake/ProjConfig.cmake
:16
check_library_exists(dl dladdr "" HAVE_LIBDL)
check_library_exists(dl dladdr "" HAVE_LIBDL)
ADD_DEFINITIONS(-DHAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "dlfcn.h" HAVE_LIBDL)
target_compile_definitions(feelpp_contrib INTERFACE -DIN_GINAC -DHAVE_LIBDL)
file( APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/feel++
"\
-DBOOST_FILESYSTEM_VERSION=3 \\
-DBOOST_NO_CXX11_SCOPED_ENUMS \\
-DBOOST_NO_SCOPED_ENUMS \\
-DBOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE=1 \\
-DBOOST_PARAMETER_MAX_ARITY=24 \\
-DBOOST_PP_VARIADICS=0 \\
-DBOOST_RESULT_OF_USE_TR1 \\
-DBOOST_TEST_DYN_LINK \\
-DBOOST_UBLAS_SHALLOW_ARRAY_ADAPTOR \\
-DFEELPP_HAS_DLFCN_H \\
-DFEELPP_HAS_DLOPEN \\
-DFEELPP_HAS_GMSH=1 \\
-DFEELPP_HAS_GMSH_ADAPT_H \\
-DFEELPP_HAS_GSL=1 \\
-DFEELPP_HAS_HPDDM \\
-DFEELPP_HAS_JSONLAB \\
-DFEELPP_HAS_METIS \\
-DFEELPP_HAS_MPI=1 \\
-DFEELPP_HAS_MPI_H=1 \\
-DFEELPP_HAS_PARALUTION \\
-DFEELPP_HAS_PETSC \\
-DFEELPP_HAS_PETSC_H \\
-DGFLAGS_IS_A_DLL=0 \\
-DGOOGLE_GLOG_DLL_DECL=\"\" \\
-DGOOGLE_GLOG_DLL_DECL_FOR_UNITTESTS=\"\" \\
-DHAVE_LIBDL \\
-DIN_GINAC \\
"
)
target_compile_definitions(feelpp_contrib INTERFACE FEELPP_HAS_GINAC IN_GINAC HAVE_LIBDL)
check_library_exists(dl dladdr "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
find_library(HAVE_LIBDL NAMES dl)
CHECK_LIBRARY_EXISTS(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
unset ( HAVE_LIBDL CACHE )
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
list(APPEND LIBPD_COMPILE_DEFINITIONS HAVE_LIBDL=1 HAVE_UNISTD_H=1)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "/lib;/lib64;/usr/lib;/usr/lib64;/usr/local/lib;/usr/local/lib64;/usr/pkg/lib;/usr/pkg/lib64" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
CHECK_LIBRARY_EXISTS(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
check_library_exists(dl dlopen "" HAVE_LIBDL)
find_library(HAVE_LIBDL dl)