Skip to content

Commit

Permalink
Setup Github Actions (open-eid#1107)
Browse files Browse the repository at this point in the history
IB-7482

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma authored Aug 10, 2022
1 parent 77a14fa commit fc725df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmake
2 changes: 1 addition & 1 deletion common

0 comments on commit fc725df

Please sign in to comment.