summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-27 14:46:57 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-27 14:46:57 +0200
commit25b12e206d22125b7d403d1339738f5bb4a468b5 (patch)
tree29434ed2e9da45b776559e8078ba84d323945d07 /CMakeLists.txt
parente32ab9d39612651af7641944f6e17d265b23dd95 (diff)
parent80765f1d6ea16892224be8da954e5b0a4c53303b (diff)
downloadouroboros-25b12e206d22125b7d403d1339738f5bb4a468b5.tar.gz
ouroboros-25b12e206d22125b7d403d1339738f5bb4a468b5.zip
Merged in sandervrijders/ouroboros/be (pull request #140)
build: Fix installation prefix
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9875bd7c..ba900645 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
LIST(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
- "${CMAKE_INSTALL_PREFIX}usr/lib" isSystemDir)
+ "${CMAKE_INSTALL_PREFIX}/usr/lib" isSystemDir)
IF("${isSystemDir}" STREQUAL "-1")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/usr/lib")
ENDIF("${isSystemDir}" STREQUAL "-1")
@@ -50,7 +50,7 @@ configure_file(
"${CMAKE_CURRENT_BINARY_DIR}/ouroboros.pc"
@ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ouroboros.pc"
- DESTINATION "usr/lib/pkgconfig")
+ DESTINATION "/usr/lib/pkgconfig")
enable_testing()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})