CMakeLists.txt
branch1.3
changeset 1316 d9e802637310
parent 1310 fc35e3ff4bea
child 1322 1552352f9798
     1.1 --- a/CMakeLists.txt	Tue Apr 08 15:57:42 2014 +0200
     1.2 +++ b/CMakeLists.txt	Mon Jul 07 11:57:45 2014 +0200
     1.3 @@ -1,5 +1,7 @@
     1.4  CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
     1.5  
     1.6 +CMAKE_POLICY(SET CMP0048 OLD)
     1.7 +
     1.8  SET(PROJECT_NAME "LEMON")
     1.9  PROJECT(${PROJECT_NAME})
    1.10  
    1.11 @@ -186,11 +188,11 @@
    1.12      "Flags used by the C compiler during maintainer builds."
    1.13      )
    1.14    SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER
    1.15 -    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
    1.16 +    "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING
    1.17      "Flags used for linking binaries during maintainer builds."
    1.18      )
    1.19    SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER
    1.20 -    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
    1.21 +    "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" CACHE STRING
    1.22      "Flags used by the shared libraries linker during maintainer builds."
    1.23      )
    1.24  ENDIF()