cmake HAVE_DLOPEN examples

Kitware/VTK ThirdParty/libxml2/vtklibxml2/CMakeLists.txt :181

check_library_exists(dl dlopen "" HAVE_DLOPEN)

zhaojh329/libuhttpd src/CMakeLists.txt :26

check_library_exists(dl dlopen "" HAVE_DLOPEN)

zhaojh329/libuhttpd src/CMakeLists.txt :29

target_compile_definitions(uhttpd PRIVATE HAVE_DLOPEN)

mongodb/mongo-bi-connector-odbc-driver configure.cmake :448

CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)

crossuo/crossuo deps/cmcurl/CMakeLists.txt :613

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/cmake/sdlchecks.cmake :33

check_function_exists(dlopen HAVE_DLOPEN)

crossuo/crossuo deps/sdl-2.0.10-c1be3add38/cmake/sdlchecks.cmake :50

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
       }" HAVE_DLOPEN)

HumbleNet/HumbleNet CMakeLists.txt :255

check_function_exists(dlopen HAVE_DLOPEN)

HumbleNet/HumbleNet CMakeLists.txt :259

unset(HAVE_DLOPEN CACHE)

HumbleNet/HumbleNet CMakeLists.txt :260

check_library_exists(${DL_LIBRARY} dlopen "dlfcn.h" HAVE_DLOPEN)

securesystemslab/multicompiler cmake/config-ix.cmake :219

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

Lewuathe/mlir-hello thirdparty/llvm-project/llvm/cmake/config-ix.cmake :392

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

microsoft/DirectXShaderCompiler cmake/config-ix.cmake :214

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

alibaba/AliSQL configure.cmake :502

CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)

alibaba/AliSQL client/CMakeLists.txt :93

ADD_DEFINITIONS(-DHAVE_DLOPEN)

arkdb/arkproxy configure.cmake :333

CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)

arkdb/arkproxy client/CMakeLists.txt :101

ADD_DEFINITIONS(-DHAVE_DLOPEN)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/LibCurl.cmake :482

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/SDL/cmake/sdlchecks.cmake :92

check_c_source_compiles("
           #include <dlfcn.h>
           int main(int argc, char **argv) {
             void *handle = dlopen(\"\", RTLD_NOW);
             const char *loaderror = (char *) dlerror();
           }" HAVE_DLOPEN)

alibaba/AliSQLBackup configure.cmake :418

CHECK_FUNCTION_EXISTS (dlopen HAVE_DLOPEN)

alibaba/AliSQLBackup client/CMakeLists.txt :92

ADD_DEFINITIONS(-DHAVE_DLOPEN)

pingcap/tiflash contrib/curl-cmake/CMakeLists.txt :704

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

skylersaleh/SkyEmu src/SDL2/cmake/sdlchecks.cmake :33

check_symbol_exists(dlopen "dlfcn.h" HAVE_DLOPEN)

skylersaleh/SkyEmu src/SDL2/cmake/sdlchecks.cmake :46

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
         return 0;
       }" HAVE_DLOPEN)

GoSSIP-SJTU/TripleDoggy cmake/config-ix.cmake :240

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :2

check_function_exists(dlopen HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :19

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
       }" HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :90

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :121

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :152

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :188

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :219

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :250

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :281

endif(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :365

else(NOT HAVE_DLOPEN)

nvMcJohn/apitest thirdparty/SDL2-2.0.1/cmake/sdlchecks.cmake :540

endif(NOT HAVE_DLOPEN)

urho3d/urho3d Source/ThirdParty/SDL/cmake/sdlchecks.cmake :64

check_c_source_compiles("
           #include <dlfcn.h>
           int main(int argc, char **argv) {
             void *handle = dlopen(\"\", RTLD_NOW);
             const char *loaderror = (char *) dlerror();
           }" HAVE_DLOPEN)

PacktPublishing/The-Modern-Cpp-Challenge libs/curl/CMakeLists.txt :506

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

Ravbug/UnityHubNative wxWidgets/build/cmake/setup.cmake :564

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

qtfreet00/llvm-obfuscator cmake/config-ix.cmake :239

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

JulNadeauCA/libagar CMakeChecks.cmake :1061

check_c_source_compiles("
#include <string.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif

int
main(int argc, char *argv[])
{
	void *handle;
	char *error;
	handle = dlopen(\"foo.so\", 0);
	error = dlerror();
	(void)dlsym(handle, \"foo\");
	return (error != NULL);
}
" HAVE_DLOPEN)

fligger/FateInjector wxWidgets-3.2.0/build/cmake/setup.cmake :615

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

llvm-dcpu16/llvm-dcpu16 cmake/config-ix.cmake :193

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

GoSSIP-SJTU/Armariris cmake/config-ix.cmake :239

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

wxWidgets/wxWidgets build/cmake/setup.cmake :564

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

geodynamics/aspect CMakeLists.txt :495

check_cxx_source_compiles("
#include <cstddef>
#include <dlfcn.h>

int main()
{
  void *handle = dlopen (\"somelib.so\", RTLD_LAZY);
  return handle == NULL || dlerror();
}
" HAVE_DLOPEN)

ucb-bar/esp-llvm cmake/config-ix.cmake :239

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/source/thirdparty/curl/CMakeLists.txt :652

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

keystone-engine/keystone llvm/cmake/config-ix.cmake :217

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

rbfx/rbfx Source/ThirdParty/SDL/cmake/sdlchecks.cmake :33

check_symbol_exists(dlopen "dlfcn.h" HAVE_DLOPEN)

rbfx/rbfx Source/ThirdParty/SDL/cmake/sdlchecks.cmake :46

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
         return 0;
       }" HAVE_DLOPEN)

root-project/root interpreter/llvm-project/llvm/cmake/config-ix.cmake :369

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

o2e/OLLVM-9.0.1 cmake/config-ix.cmake :256

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

google/filament third_party/dawn/third_party/dxc/cmake/config-ix.cmake :214

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

google/filament third_party/libsdl2/cmake/sdlchecks.cmake :33

check_function_exists(dlopen HAVE_DLOPEN)

google/filament third_party/libsdl2/cmake/sdlchecks.cmake :50

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
       }" HAVE_DLOPEN)

yrnkrn/zapcc cmake/config-ix.cmake :274

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

frasercrmck/llvm-leg cmake/config-ix.cmake :218

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :507

check_library_exists("${CURL_LIBS}" dlopen "" HAVE_DLOPEN)

espressif/openocd-esp32 cmake/configure-esp-idf.cmake :20

check_library_exists(dl dlopen "" HAVE_DLOPEN)

espressif/openocd-esp32 cmake/configure.cmake :38

check_library_exists(dl dlopen "" HAVE_DLOPEN)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/cmake/sdlchecks.cmake :33

check_symbol_exists(dlopen "dlfcn.h" HAVE_DLOPEN)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/cmake/sdlchecks.cmake :46

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
         return 0;
       }" HAVE_DLOPEN)

NVIDIA/MDL-SDK src/mdl/jit/llvm/dist/cmake/config-ix.cmake :273

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

yazhiwang/ollvm-tll cmake/config-ix.cmake :274

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

klaussilveira/qengine vendor/SDL2-2.0.22/cmake/sdlchecks.cmake :33

check_symbol_exists(dlopen "dlfcn.h" HAVE_DLOPEN)

klaussilveira/qengine vendor/SDL2-2.0.22/cmake/sdlchecks.cmake :46

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
         return 0;
       }" HAVE_DLOPEN)

FilmKilns/FilmKilns src/sdl2/cmake/sdlchecks.cmake :33

check_function_exists(dlopen HAVE_DLOPEN)

FilmKilns/FilmKilns src/sdl2/cmake/sdlchecks.cmake :50

check_c_source_compiles("
       #include <dlfcn.h>
       int main(int argc, char **argv) {
         void *handle = dlopen(\"\", RTLD_NOW);
         const char *loaderror = (char *) dlerror();
       }" HAVE_DLOPEN)

KhronosGroup/SPIRV-LLVM cmake/config-ix.cmake :224

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

GANGE666/xVMP src/cmake/config-ix.cmake :245

check_symbol_exists(dlopen dlfcn.h HAVE_DLOPEN)

manticoresoftware/manticoresearch CMakeLists.txt :151

check_symbol_exists ( dlopen "dlfcn.h" HAVE_DLOPEN )

manticoresoftware/manticoresearch libicu/CMakeLists.txt :161

target_compile_definitions ( icu PRIVATE HAVE_DLOPEN=0 )

BelledonneCommunications/liblinphone CMakeLists.txt :105

check_library_exists("dl" "dlopen" "" HAVE_DLOPEN)