From 9a713ca3832df631507b1300b4f2d66747e48534 Mon Sep 17 00:00:00 2001 From: Rich Mattes Date: Sat, 17 Oct 2020 22:42:24 -0400 Subject: [PATCH] Update generated header install directory. (#87) The generated export header is currently installed to include, which puts it in the global /usr/include when installed system-wide. Instead, install the generated export header to include/console_bridge, consistent with the rest of the installed header files. Signed-off-by: Rich Mattes --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e1c534b..98240fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,7 +70,7 @@ install(DIRECTORY include/ FILES_MATCHING PATTERN "*.h") install(FILES ${PROJECT_BINARY_DIR}/${PROJECT_NAME}_export.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}) if(WIN32 AND NOT CYGWIN) set(CMAKE_CONFIG_INSTALL_DIR CMake)