aboutsummaryrefslogtreecommitdiff
path: root/dep/gsoap/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dep/gsoap/CMakeLists.txt')
-rw-r--r--dep/gsoap/CMakeLists.txt20
1 files changed, 14 insertions, 6 deletions
diff --git a/dep/gsoap/CMakeLists.txt b/dep/gsoap/CMakeLists.txt
index 77fb50d1e87..6a50b6b68c4 100644
--- a/dep/gsoap/CMakeLists.txt
+++ b/dep/gsoap/CMakeLists.txt
@@ -8,15 +8,23 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-file(GLOB sources *.cpp *.c *.h)
+add_library(gsoap STATIC)
-add_library(gsoap STATIC ${sources})
-
-set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)
+target_sources(gsoap
+ PRIVATE
+ soapC.cpp
+ soapServer.cpp
+ stdsoap2.cpp)
-target_include_directories(gsoap
+target_sources(gsoap
PUBLIC
- ${CMAKE_CURRENT_SOURCE_DIR})
+ FILE_SET HEADERS
+ FILES
+ soapH.h
+ soapStub.h
+ stdsoap2.h)
+
+set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)
target_compile_definitions(gsoap
PUBLIC