mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-10 20:48:27 -04:00
Fix building without features
* Fix #3684 - Include YubiKey headers in CLI tests * Skip building testguibrowser if browser integration is disabled * Cleanup test CMakeLists
This commit is contained in:
parent
1ab8a9f42c
commit
178bea6bbc
4 changed files with 13 additions and 17 deletions
|
@ -16,5 +16,8 @@
|
|||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||
|
||||
add_unit_test(NAME testgui SOURCES TestGui.cpp ../util/TemporaryFile.cpp LIBS ${TEST_LIBRARIES})
|
||||
add_unit_test(NAME testguibrowser SOURCES TestGuiBrowser.cpp ../util/TemporaryFile.cpp LIBS ${TEST_LIBRARIES})
|
||||
add_unit_test(NAME testguipixmaps SOURCES TestGuiPixmaps.cpp LIBS ${TEST_LIBRARIES})
|
||||
|
||||
if(WITH_XC_BROWSER)
|
||||
add_unit_test(NAME testguibrowser SOURCES TestGuiBrowser.cpp ../util/TemporaryFile.cpp LIBS ${TEST_LIBRARIES})
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue