Skip to content

Commit

Permalink
Update generated header install directory. (#87)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
richmattes authored Oct 18, 2020
1 parent d84708b commit 9a713ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a713ca

Please sign in to comment.