CLANG compatible linker setting (#480)
authorAlpar Juttner <alpar@cs.elte.hu>
Thu, 08 May 2014 17:20:25 +0200
changeset 1111fc35e3ff4bea
parent 1110 489e243cfcb7
child 1112 6aea07d5ca48
CLANG compatible linker setting (#480)
CMakeLists.txt
     1.1 --- a/CMakeLists.txt	Tue Apr 08 17:13:55 2014 +0200
     1.2 +++ b/CMakeLists.txt	Thu May 08 17:20:25 2014 +0200
     1.3 @@ -186,11 +186,11 @@
     1.4      "Flags used by the C compiler during maintainer builds."
     1.5      )
     1.6    SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER
     1.7 -    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
     1.8 +    "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING
     1.9      "Flags used for linking binaries during maintainer builds."
    1.10      )
    1.11    SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER
    1.12 -    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
    1.13 +    "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" CACHE STRING
    1.14      "Flags used by the shared libraries linker during maintainer builds."
    1.15      )
    1.16  ENDIF()