diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 151e77919..eda1e13dd 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -133,6 +133,10 @@ target_link_libraries( ${PROGNAME} ${LDAP_LIBRARIES} ) +if(NOT BUILD_DATE) + string(TIMESTAMP BUILD_DATE "%d.%m.%Y") +endif() + if(${QT_VERSION_MAJOR} STREQUAL "6") find_package(Qt6 COMPONENTS Core5Compat SvgWidgets REQUIRED) target_link_libraries(${PROGNAME} Qt6::Core5Compat Qt6::SvgWidgets) @@ -148,7 +152,11 @@ set_target_properties(${PROGNAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/mac/Info.plist.cmake ) target_include_directories(${PROGNAME} PRIVATE ${CMAKE_SOURCE_DIR} ${LIBDIGIDOCPP_INCLUDE_DIR} ) -target_compile_definitions(${PROGNAME} PRIVATE MOBILEID_URL="${MOBILEID_URL}" SMARTID_URL="${SMARTID_URL}" ) +target_compile_definitions(${PROGNAME} PRIVATE + MOBILEID_URL="${MOBILEID_URL}" + SMARTID_URL="${SMARTID_URL}" + BUILD_DATE="${BUILD_DATE}" +) if( APPLE ) file(GLOB_RECURSE RESOURCE_FILES diff --git a/cmake b/cmake index 587667bbd..c06a7cd78 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 587667bbd3c911a08e8d96b784a4aa3c5c91ccba +Subproject commit c06a7cd7803de16f61efef34827b72fe6b2e01db diff --git a/common b/common index d9623b38d..77a979e51 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit d9623b38d2bf722e958619093c1651c8c6d8a653 +Subproject commit 77a979e511033df92171de3ff7b5315b25248746