X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=inline;f=CMakeLinux.txt;h=2513d1baeb72cbc67628e3571c8759e35b2cf38e;hb=de270ece1b764b19968e14420f538321f1c06b15;hp=f45ee0408f8c2c1ed52ba2fbe27aaf8150c89f72;hpb=441d1b38e0900f56891f495a94a08dc8d48e0a32;p=evaf
diff --git a/CMakeLinux.txt b/CMakeLinux.txt
index f45ee04..2513d1b 100644
--- a/CMakeLinux.txt
+++ b/CMakeLinux.txt
@@ -9,4 +9,6 @@ ELSE(CMAKE_BUILD_TYPE STREQUAL Release)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
ENDIF(CMAKE_BUILD_TYPE STREQUAL Release)
-set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
+if(NOT APPLE)
+ set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
+endif()