Skip to content

Commit

Permalink
GIT_SILENT: Remove DISABLE_DEPRECATED_BEFORE macro. It can break comp…
Browse files Browse the repository at this point in the history
…ile when we increase KF5/Qt5
  • Loading branch information
Montel committed Mar 17, 2020
1 parent 1e96bea commit 735193d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ if (${KF5Config_VERSION} STRGREATER "5.56.0")
add_definitions(-DQT_NO_FOREACH)
MESSAGE(STATUS "compile without foreach")
endif()
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()


add_subdirectory(src)
add_subdirectory(doc)
Expand Down

0 comments on commit 735193d

Please sign in to comment.