From 262947d9f66da2f8cc2a11886790148f48c965ee Mon Sep 17 00:00:00 2001 From: degomme Date: Tue, 1 Nov 2016 09:28:35 +0100 Subject: [PATCH] apparently, this should be in this order --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d16dc1b652..72f539abfa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,7 +121,7 @@ string(REGEX MATCH "[0-9].[0-9]*" LINKER_VERSION "${LINKER_VERSION}") ### Set the library providing dlopen if("${CMAKE_SYSTEM}" MATCHES "Linux") - find_library(dl DL_LIBRARY) + find_library(DL_LIBRARY dl) endif("${CMAKE_SYSTEM}" MATCHES "Linux") ### Find programs and paths -- 2.20.1