From 84b1b3c2e826ec8ab27576b5360ef75647ad6d9d Mon Sep 17 00:00:00 2001 From: wirena Date: Tue, 2 Apr 2024 21:12:23 +0300 Subject: [PATCH] Fix cmake install command --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fe2734..be1467b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ target_include_directories(inicpp INTERFACE $ $) add_library(inicpp::inicpp ALIAS inicpp) -install(DIRECTORY inicpp TYPE INCLUDE) +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/inicpp.h TYPE INCLUDE) if(${BUILD_TESTS}) add_subdirectory(test)