Commit eb5021cb authored by jan.koester's avatar jan.koester
Browse files

windows fixes

parent 94e8e2af
Loading
Loading
Loading
Loading
Loading
+7 −2
Changes for client/CMakeLists.txt: 7 added lines, 2 removed lines.
Original line number Diff line number Diff line
include(CMakePackageConfigHelpers)

set(WINDOWS_EXPORT_ALL_SYMBOLS ON)

include_directories(
    ${CMAKE_SOURCE_DIR}/src
    ${LIBUUIDP_INCLUDE_DIR}
@@ -11,6 +9,13 @@ add_compile_definitions(DATAPATH="${DATAPATH}")

add_library(client STATIC client.cpp  $<TARGET_OBJECTS:authobj>)

set_target_properties(client PROPERTIES
  WINDOWS_EXPORT_ALL_SYMBOLS ON
  OUTPUT_NAME "uuidp"
  VERSION ${PROJECT_VERSION}
  SOVERSION ${PROJECT_VERSION_MAJOR}
)

target_link_libraries(client PUBLIC uuidp::uuidp confplus::confplus netplus::netplus json-c::json-c httppp::httppp)

set_target_properties(client PROPERTIES