commit | ed6e0d393a8659d05e2996cd1342a05fef71d128 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 24 13:28:58 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 24 13:28:58 2016 +0100 |
tree | 71c4269549d98a896d4273e2383178d414bbf915 | |
parent | 9b81f5bfa29f749401cec8d23ad8133c0ca17cf4 [diff] [blame] |
build BUGFIX relative data dir must be reflected everywhere
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f239b7..3647266 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -156,7 +156,7 @@ # install schemas install( CODE "file(GLOB yin_schemas \"${CMAKE_SOURCE_DIR}/schemas/*.yin\")" - CODE "file(INSTALL \${yin_schemas} DESTINATION ${DATA_INSTALL_DIR})" + CODE "file(INSTALL \${yin_schemas} DESTINATION ${CMAKE_INSTALL_PREFIX}/${DATA_INSTALL_DIR})" ) # install pkg-config file