mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix ifdefs with UrlTools
This commit is contained in:
committed by
Jonathan White
parent
f7fd3881e3
commit
c5e9d3588a
@@ -150,8 +150,6 @@ if(WITH_XC_NETWORKING)
|
||||
LIBS ${TEST_LIBRARIES})
|
||||
|
||||
add_unit_test(NAME testicondownloader SOURCES TestIconDownloader.cpp LIBS ${TEST_LIBRARIES})
|
||||
|
||||
add_unit_test(NAME testurltools SOURCES TestUrlTools.cpp LIBS ${TEST_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(WITH_XC_AUTOTYPE)
|
||||
@@ -246,6 +244,10 @@ if(WITH_XC_BROWSER)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_XC_NETWORKING OR WITH_XC_BROWSER)
|
||||
add_unit_test(NAME testurltools SOURCES TestUrlTools.cpp LIBS ${TEST_LIBRARIES})
|
||||
endif()
|
||||
|
||||
add_unit_test(NAME testcli SOURCES TestCli.cpp
|
||||
LIBS testsupport cli ${TEST_LIBRARIES})
|
||||
target_compile_definitions(testcli PRIVATE KEEPASSX_CLI_PATH="$<TARGET_FILE:keepassxc-cli>")
|
||||
|
||||
Reference in New Issue
Block a user