From e9bacce2e9b3d345edd709f8c7760c8a553e4ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Bergem?= Date: Thu, 19 Mar 2015 20:07:43 +0100 Subject: [PATCH] Install the binaries into the ./bin folder (usually `/usr/local/bin`) --- dmg/CMakeLists.txt | 2 +- hdutil/CMakeLists.txt | 2 +- hfs/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dmg/CMakeLists.txt b/dmg/CMakeLists.txt index a7cebfb..de1c4cb 100644 --- a/dmg/CMakeLists.txt +++ b/dmg/CMakeLists.txt @@ -34,5 +34,5 @@ target_link_libraries (dmg-bin dmg) set_target_properties(dmg-bin PROPERTIES OUTPUT_NAME "dmg") -install(TARGETS dmg-bin DESTINATION .) +install(TARGETS dmg-bin DESTINATION bin) diff --git a/hdutil/CMakeLists.txt b/hdutil/CMakeLists.txt index 4c1750a..f0d8ac9 100644 --- a/hdutil/CMakeLists.txt +++ b/hdutil/CMakeLists.txt @@ -4,5 +4,5 @@ add_executable(hdutil hdutil.c) target_link_libraries (hdutil dmg hfs common) -install(TARGETS hdutil DESTINATION .) +install(TARGETS hdutil DESTINATION bin) diff --git a/hfs/CMakeLists.txt b/hfs/CMakeLists.txt index 379316d..74cc1d9 100644 --- a/hfs/CMakeLists.txt +++ b/hfs/CMakeLists.txt @@ -5,5 +5,5 @@ target_link_libraries(hfs common) add_executable(hfsplus hfs.c) target_link_libraries (hfsplus hfs) -install(TARGETS hfsplus DESTINATION .) +install(TARGETS hfsplus DESTINATION bin)