From f7b2c22c230b1d99c2f6bcff242510229f0748a2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 23 Sep 2019 19:00:52 +0200 Subject: [PATCH] Install header. --- CMakeLists.txt | 1 + include/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3fdc05..e5e1b54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,6 +46,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug") endif() add_subdirectory(src) +add_subdirectory(include) add_subdirectory(cmake) add_subdirectory(pkg-config) diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index 82609bc..29906fe 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -1,4 +1,4 @@ include(GNUInstallDirs) -install("identiconpp.hpp" +install(FILES "identiconpp.hpp" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")