summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-05-05 12:36:47 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-05-06 03:42:20 +0200
commit88db0523ec81a83147f484de895376ffe568858b (patch)
tree5da3888926229979756d3b668dce029dc627e942 /cmake
parente4ec3180c8ba792cbf92d8fda340116f016835d1 (diff)
cmake: use unprefixed name as executable output
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 0a7ccfab..2b605f5f 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -153,6 +153,10 @@ function(otr_module n_)
if(arg_EXECUTABLE)
add_executable(${n} ${subsys} "${${n}-all}")
+ set_target_properties(${n} PROPERTIES
+ SUFFIX "${opentrack-binary-suffix}"
+ OUTPUT_NAME "${n_}"
+ PREFIX "")
if(MSVC)
target_compile_options(${n} PRIVATE -GA)
endif()