From 544ad6f9759de6acc109307caee2100478cba8ed Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 6 Feb 2018 17:17:28 +0100 Subject: build: Use GNUInstallDirs instead of hardcoded values 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 --- src/tools/operf/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/operf') diff --git a/src/tools/operf/CMakeLists.txt b/src/tools/operf/CMakeLists.txt index 271a992d..895d706c 100644 --- a/src/tools/operf/CMakeLists.txt +++ b/src/tools/operf/CMakeLists.txt @@ -18,4 +18,4 @@ add_executable(operf ${SOURCE_FILES}) target_link_libraries(operf LINK_PUBLIC ${LIBM_LIBRARIES} ouroboros-dev) -install(TARGETS operf RUNTIME DESTINATION usr/bin) +install(TARGETS operf RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -- cgit v1.2.3