summaryrefslogtreecommitdiff
path: root/src/nsmd/CMakeLists.txt
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-27 20:40:05 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-06-27 21:01:22 +0200
commitcffd94aae48dac005d820dd667498bbbb09ab117 (patch)
tree2e75316289301a5b78b2b9f9f08dd04e6120f8d9 /src/nsmd/CMakeLists.txt
parent25b12e206d22125b7d403d1339738f5bb4a468b5 (diff)
downloadouroboros-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/nsmd/CMakeLists.txt')
-rw-r--r--src/nsmd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmd/CMakeLists.txt b/src/nsmd/CMakeLists.txt
index 8539c79c..b916170b 100644
--- a/src/nsmd/CMakeLists.txt
+++ b/src/nsmd/CMakeLists.txt
@@ -18,7 +18,7 @@ if (CMAKE_BUILD_TYPE MATCHES Debug)
MACRO_ADD_COMPILE_FLAGS(nsmd -DCONFIG_OUROBOROS_DEBUG)
endif (CMAKE_BUILD_TYPE MATCHES Debug)
-install(TARGETS nsmd RUNTIME DESTINATION /sbin)
+install(TARGETS nsmd RUNTIME DESTINATION sbin)
# Enable once nsmd has tests
# add_subdirectory(tests)