diff --git a/HTTP/CMakeLists.txt b/HTTP/CMakeLists.txt index 2a03e89..688e9b5 100644 --- a/HTTP/CMakeLists.txt +++ b/HTTP/CMakeLists.txt @@ -9,7 +9,10 @@ include_directories(${CURL_INCLUDE_DIRS}) file(GLOB_RECURSE source_files ./*) add_library(httpclient STATIC ${source_files}) +set_target_properties(httpclient PROPERTIES PUBLIC_HEADER "HTTPClient.h;CurlHandle.h") -install(TARGETS httpclient) +install(TARGETS httpclient + PUBLIC_HEADER DESTINATION include/httpclient + ) ENDIF()