Skip to content

Commit

Permalink
Fix broken build when SHV API is disabledl
Browse files Browse the repository at this point in the history
  • Loading branch information
Fanda Vacek committed Mar 4, 2024
1 parent b76e9ca commit 7ff0aa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion quickevent/app/quickevent/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ qt6_add_translation(QM_FILES

target_sources(quickevent PRIVATE ${QM_FILES})
target_include_directories(quickevent PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_link_libraries(quickevent PUBLIC libquickeventcore libquickeventgui libqfqmlwidgets libsiut libshviotqt)
target_link_libraries(quickevent PUBLIC libquickeventcore libquickeventgui libqfqmlwidgets libsiut)
if(WITH_QE_SHVAPI)
target_link_libraries(quickevent PUBLIC libshviotqt)
endif()

install(TARGETS quickevent)
install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_BINDIR}/translations)
Expand Down

0 comments on commit 7ff0aa1

Please sign in to comment.