Commit 50c56a47 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Restore same visibility of deprecated API for builds of tarball & checkout

Otherwise there is potential risk of resulting different implicit
conversions or overloaded methods

GIT_SILENT
parent 098635f5
......@@ -53,9 +53,8 @@ set_package_properties(Bolt PROPERTIES DESCRIPTION "Thunderbolt device manager"
TYPE RUNTIME)
#################################################
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
endif()
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050c00)
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment