Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: install headers
  • Loading branch information
aristidb committed May 11, 2009
1 parent 864fc1a commit 5c221d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Expand Up @@ -38,6 +38,7 @@ SET (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
SET (INSTALL_EXECUTABLES_PATH ${CMAKE_INSTALL_PREFIX}/bin)
SET (INSTALL_LIBRARIES_PATH ${CMAKE_INSTALL_PREFIX}/lib)
SET (INSTALL_MODULES_PATH ${CMAKE_INSTALL_PREFIX}/lib/flusspferd/modules)
SET (INSTALL_HEADERS_PATH ${CMAKE_INSTALL_PREFIX}/include)

EXECUTE_PROCESS(
COMMAND "${Flusspferd_SOURCE_DIR}/flusspferd-version.sh"
Expand Down Expand Up @@ -312,3 +313,10 @@ FOREACH(PLUGIN ${PLUGINS})
LIBRARY DESTINATION ${INSTALL_MODULES_PATH})

ENDFOREACH()

## Headers ##################################################################

INSTALL(
DIRECTORY include/
DESTINATION ${INSTALL_HEADERS_PATH}
FILES_MATCHING PATTERN "*.hpp")

0 comments on commit 5c221d9

Please sign in to comment.