From 8744c2f87dd7eb833bf27a1f8f9a1baeead5a36a Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 18 Apr 2019 23:01:27 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5573e12..fa4b0d46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ IF(WIN32) ELSE(WIN32) ADD_COMPILE_OPTIONS (-Wextra -Wno-unused-parameter) ENDIF(WIN32) -IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") +IF(APPLE) set (CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup") ENDIF()