Browse Source

Fix setting DL_FOUND

TingPing 8 years ago
parent
commit
bf6b9f4dd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeModules/FindDL.cmake

+ 1 - 1
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