From 2203a250e3d750bc498beae0c979f1a5b43e9e80 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Mon, 7 Aug 2023 21:18:43 -0400 Subject: [PATCH] Add DESTINATION for PUBLIC_HEADERS targets --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd66984..e8c1d18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,10 +90,12 @@ else() endif() endif() +include(GNUInstallDirs) install(TARGETS libblisp libblisp_static RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) if(BLISP_BUILD_CLI)