diff options
author | dimitri staessens <[email protected]> | 2016-06-27 20:40:05 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-06-27 21:01:22 +0200 |
commit | cffd94aae48dac005d820dd667498bbbb09ab117 (patch) | |
tree | 2e75316289301a5b78b2b9f9f08dd04e6120f8d9 /src/tools | |
parent | 25b12e206d22125b7d403d1339738f5bb4a468b5 (diff) | |
download | ouroboros-cffd94aae48dac005d820dd667498bbbb09ab117.tar.gz ouroboros-cffd94aae48dac005d820dd667498bbbb09ab117.zip |
build: correct sandboxing
paths cannot start with "/" or PREFIX will be omitted. PREFIX must be
set before the project() call.
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/cbr/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/tools/echo/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/tools/irm/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/cbr/CMakeLists.txt b/src/tools/cbr/CMakeLists.txt index e54ffff6..232bea36 100644 --- a/src/tools/cbr/CMakeLists.txt +++ b/src/tools/cbr/CMakeLists.txt @@ -13,4 +13,4 @@ add_executable(cbr ${SOURCE_FILES}) target_link_libraries(cbr LINK_PUBLIC ouroboros) -install(TARGETS cbr RUNTIME DESTINATION /usr/bin) +install(TARGETS cbr RUNTIME DESTINATION usr/bin) diff --git a/src/tools/echo/CMakeLists.txt b/src/tools/echo/CMakeLists.txt index ec8ed7ba..42bcdbfe 100644 --- a/src/tools/echo/CMakeLists.txt +++ b/src/tools/echo/CMakeLists.txt @@ -13,4 +13,4 @@ add_executable(echo-app ${SOURCE_FILES}) target_link_libraries(echo-app LINK_PUBLIC ouroboros) -install(TARGETS echo-app RUNTIME DESTINATION /usr/bin) +install(TARGETS echo-app RUNTIME DESTINATION usr/bin) diff --git a/src/tools/irm/CMakeLists.txt b/src/tools/irm/CMakeLists.txt index 42fabcb0..d1f227a8 100644 --- a/src/tools/irm/CMakeLists.txt +++ b/src/tools/irm/CMakeLists.txt @@ -20,4 +20,4 @@ add_executable (irm ${SOURCE_FILES}) target_link_libraries (irm LINK_PUBLIC ouroboros) -install(TARGETS irm RUNTIME DESTINATION /sbin) +install(TARGETS irm RUNTIME DESTINATION sbin) |