diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ea2ff7..9c80d87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ if(BUILD_CLOUD_CLIENT) target_sources(ruckig PRIVATE src/ruckig/cloud_client.cpp) target_include_directories(ruckig PUBLIC $ - $ + $ ) target_compile_definitions(ruckig PUBLIC WITH_CLOUD_CLIENT) endif() @@ -131,6 +131,9 @@ include(CMakePackageConfigHelpers) # Install headers install(DIRECTORY include/ruckig DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +if(BUILD_CLOUD_CLIENT) + install(DIRECTORY third_party/httplib third_party/nlohmann DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ruckig/third_party) +endif() # Install library install(TARGETS ruckig