CMakeLists.txt
changeset 1312 f747a0ddbbf6
parent 1305 e937009e4c5f
child 1313 fe4ff72e2f14
equal deleted inserted replaced
70:ec4c335de091 71:cd01f6ffbcff
   184     )
   184     )
   185   SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING
   185   SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING
   186     "Flags used by the C compiler during maintainer builds."
   186     "Flags used by the C compiler during maintainer builds."
   187     )
   187     )
   188   SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER
   188   SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER
   189     "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
   189     "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING
   190     "Flags used for linking binaries during maintainer builds."
   190     "Flags used for linking binaries during maintainer builds."
   191     )
   191     )
   192   SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER
   192   SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER
   193     "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
   193     "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" CACHE STRING
   194     "Flags used by the shared libraries linker during maintainer builds."
   194     "Flags used by the shared libraries linker during maintainer builds."
   195     )
   195     )
   196 ENDIF()
   196 ENDIF()
   197 
   197 
   198 MARK_AS_ADVANCED(
   198 MARK_AS_ADVANCED(