Changeset 19619


Ignore:
Timestamp:
09/04/19 10:49:43 (5 years ago)
Author:
tbretz
Message:
Get rid of some compiler warnings which come from the root dictionary:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/CMakeLists.txt

    r19491 r19619  
    222222        # - This makes sure that it is compiled
    223223        TARGET_SOURCES(mars PRIVATE dictionary/${_CINT}.cxx ${_SRCLIST})
     224        SET_SOURCE_FILES_PROPERTIES(dictionary/${_CINT}.cxx PROPERTIES COMPILE_FLAGS "-Wno-deprecated-register")
    224225
    225226        INSTALL(DIRECTORY ${subdir}/ DESTINATION "include" FILES_MATCHING PATTERN "*.h")
     
    291292
    292293ADD_LIBRARY(mars SHARED dictionary/Core.cxx) # CMAKE_POSITION_INDEPENDENT_CODE
     294        SET_SOURCE_FILES_PROPERTIES(dictionary/Core.cxx PROPERTIES COMPILE_FLAGS "-Wno-deprecated-register")
    293295TARGET_LINK_LIBRARIES(mars
    294296        ZLIB::ZLIB
Note: See TracChangeset for help on using the changeset viewer.