Commit d0aa4354 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: add flags only on source repo

parent 4abb4b13
......@@ -69,7 +69,9 @@ option(BUILD_GSTREAMER_PLUGIN "Build GStreamer sound backend" OFF)
add_definitions(
-DQT_NO_URL_CAST_FROM_STRING
)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
# subdirectories to build
ecm_optional_add_subdirectory(data)
ecm_optional_add_subdirectory(doc)
......
Markdown is supported
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