X-Git-Url: https://vaikene.ee/gitweb/gitweb.cgi?p=evaf;a=blobdiff_plain;f=CMakeLinux.txt;fp=CMakeLinux.txt;h=2513d1baeb72cbc67628e3571c8759e35b2cf38e;hp=f45ee0408f8c2c1ed52ba2fbe27aaf8150c89f72;hb=de270ece1b764b19968e14420f538321f1c06b15;hpb=cf45ef016ce162419f74f9165c4267a184714956 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()