diff --git a/CMakeLists.txt b/CMakeLists.txt index ca8b874e..3d347fd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ add_library(scratchcpp SHARED) add_subdirectory(src) include_directories(src) # TODO: Remove this line include_directories(include) +install(TARGETS scratchcpp DESTINATION lib) target_sources(scratchcpp PUBLIC diff --git a/build/zip.cmake b/build/zip.cmake index cf970fb8..1165aba8 100644 --- a/build/zip.cmake +++ b/build/zip.cmake @@ -7,3 +7,4 @@ add_library(zip SHARED ) target_include_directories(zip PUBLIC ${ZIP_SRC}) +install(TARGETS zip DESTINATION lib)