commit f145e89f855b2c1b3dccd37b2bb186a4cb574d36
parent f65e415867fc61ea64f68596b471bd91ac6c3e2a
Author: Frederic Cambus <fred@statdns.com>
Date: Sun, 17 Nov 2019 23:01:58 +0100
Use ${CMAKE_INSTALL_BINDIR} instead of hardcoding 'bin'.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -53,7 +53,7 @@ endif()
add_definitions(-Wall -Wextra -std=c99 -pedantic)
add_executable(statzone ${SRC})
-install(TARGETS statzone DESTINATION bin)
+install(TARGETS statzone DESTINATION ${CMAKE_INSTALL_BINDIR})
enable_testing()
add_test(statzone statzone)