From 88db0523ec81a83147f484de895376ffe568858b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 5 May 2019 12:36:47 +0200 Subject: cmake: use unprefixed name as executable output --- cmake/opentrack-boilerplate.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake/opentrack-boilerplate.cmake') 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() -- cgit v1.2.3