Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/CMakeLists.txt')
-rw-r--r--src/http/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/http/CMakeLists.txt b/src/http/CMakeLists.txt
index 8a3b197ab..962f78c36 100644
--- a/src/http/CMakeLists.txt
+++ b/src/http/CMakeLists.txt
@@ -1,6 +1,6 @@
-add_subdirectory(qhttp)
-
if(WITH_XC_HTTP)
+ add_subdirectory(qhttp)
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
set(keepasshttp_SOURCES
@@ -15,5 +15,7 @@ if(WITH_XC_HTTP)
)
add_library(keepasshttp STATIC ${keepasshttp_SOURCES})
- target_link_libraries(keepasshttp qhttp Qt5::Core Qt5::Concurrent Qt5::Widgets Qt5::Network)
+ target_link_libraries(keepasshttp PUBLIC qhttp Qt5::Core Qt5::Concurrent Qt5::Widgets Qt5::Network)
+
+ set(keepassxchttp_LIB keepasshttp PARENT_SCOPE)
endif()