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

Fix compile even if we don't have .git repo

parent 680e194f
......@@ -129,9 +129,8 @@ configure_file(korganizer-version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/korganizer
if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
endif()
add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000)
set(CMAKE_CXX_STANDARD 14)
#add_definitions(-DQT_NO_FOREACH)
add_subdirectory(src)
......
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