|
|
|
|
@ -74,7 +74,6 @@ mark_thirdparty_code( ${kdsagSources} )
|
|
|
|
|
include_directories(
|
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
|
${YAMLCPP_INCLUDE_DIR}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
### OPTIONAL Python support
|
|
|
|
|
@ -126,7 +125,7 @@ target_link_libraries( calamares
|
|
|
|
|
LINK_PRIVATE
|
|
|
|
|
${OPTIONAL_PRIVATE_LIBRARIES}
|
|
|
|
|
LINK_PUBLIC
|
|
|
|
|
${YAMLCPP_LIBRARY}
|
|
|
|
|
yamlcpp
|
|
|
|
|
Qt5::Core
|
|
|
|
|
KF5::CoreAddons
|
|
|
|
|
${OPTIONAL_PUBLIC_LIBRARIES}
|
|
|
|
|
@ -191,7 +190,6 @@ if ( ECM_FOUND AND BUILD_TESTING )
|
|
|
|
|
LINK_LIBRARIES
|
|
|
|
|
calamares
|
|
|
|
|
Qt5::Test
|
|
|
|
|
${YAMLCPP_LIBRARY}
|
|
|
|
|
)
|
|
|
|
|
calamares_automoc( geoiptest )
|
|
|
|
|
|
|
|
|
|
@ -238,6 +236,6 @@ endif()
|
|
|
|
|
|
|
|
|
|
if( BUILD_TESTING )
|
|
|
|
|
add_executable( test_geoip geoip/test_geoip.cpp ${geoip_src} )
|
|
|
|
|
target_link_libraries( test_geoip calamares Qt5::Network ${YAMLCPP_LIBRARY} )
|
|
|
|
|
target_link_libraries( test_geoip calamares Qt5::Network yamlcpp )
|
|
|
|
|
calamares_automoc( test_geoip )
|
|
|
|
|
endif()
|
|
|
|
|
|