From bf6b9f4dd7e463071797ca7b87d1d1acc10d9492 Mon Sep 17 00:00:00 2001 From: TingPing Date: Tue, 8 Mar 2016 03:51:07 -0500 Subject: [PATCH] Fix setting DL_FOUND --- CMakeModules/FindDL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/FindDL.cmake b/CMakeModules/FindDL.cmake index 8d1df7b..866d07f 100644 --- a/CMakeModules/FindDL.cmake +++ b/CMakeModules/FindDL.cmake @@ -8,7 +8,7 @@ include(CheckFunctionExists) find_path(DL_INCLUDE_DIR NAMES dlfcn.h) find_library(DL_LIBRARIES NAMES dl) if(DL_LIBRARIES) - set(DL_FOUND) + set(DL_FOUND TRUE) else(DL_LIBRARIES) check_function_exists(dlopen DL_FOUND) # If dlopen can be found without linking in dl then dlopen is part