From 069ebb6212aa096adb1ded0823ac4194db9b0d03 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 6 Jul 2016 07:37:47 +0200 Subject: gui, api, csv: support hier(7) on Unix This affects platforms such as FreeBSD, Cygwin or Linux. --- gui/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gui/CMakeLists.txt') diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index b7448b4c..a2a04af1 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,3 +1,4 @@ +include(opentrack-hier) opentrack_boilerplate(opentrack NO-LIBRARY) if(WIN32) @@ -12,9 +13,7 @@ endif() add_executable(opentrack ${opentrack-win32-executable} ${opentrack-all}) -if(NOT WIN32) - set_target_properties(opentrack PROPERTIES SUFFIX ".bin") -endif() +set_target_properties(opentrack PROPERTIES SUFFIX "${opentrack-binary-suffix}") target_link_libraries(opentrack opentrack-logic -- cgit v1.2.3