diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2018-02-06 17:17:28 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2018-02-06 18:27:38 +0100 |
commit | 544ad6f9759de6acc109307caee2100478cba8ed (patch) | |
tree | eec4c0c26142f945f9540ed6e37f6e26173e3672 /include | |
parent | c80de3a96b4d91b1202d9ebebab11f6ff0af2045 (diff) | |
download | ouroboros-0.9.9.tar.gz ouroboros-0.9.9.zip |
build: Use GNUInstallDirs instead of hardcoded values0.9.9
This changes the build to use GNUInstallDirs instead of hardcoded
values. Package maintainers can then override these defaults by
passing the correct value to cmake on the command line.
Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ouroboros/CMakeLists.txt b/include/ouroboros/CMakeLists.txt index d3b6e847..c0a83030 100644 --- a/include/ouroboros/CMakeLists.txt +++ b/include/ouroboros/CMakeLists.txt @@ -15,6 +15,6 @@ set(HEADER_FILES ${CMAKE_CURRENT_BINARY_DIR}/version.h ) -install(FILES ${HEADER_FILES} DESTINATION usr/include/ouroboros) +install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ouroboros) add_subdirectory(wrap) |