aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-08-26 03:50:51 -0700
committerChris Robinson <[email protected]>2017-08-26 04:43:16 -0700
commitbfcde9ae8ac4cd3ecdb128397eec2913ba90142d (patch)
tree00dd159063e12b9ef186522e2f28948017dd99c5 /CMakeLists.txt
parentb1ff2a05af7e786e1d9f6b13d5338cd5178c067d (diff)
Allow specifying the output filename with bsincgen
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 88fe4a36..c3f45376 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1419,6 +1419,9 @@ IF(ALSOFT_UTILS)
IF(HAVE_LIBM)
TARGET_LINK_LIBRARIES(bsincgen m)
ENDIF()
+ IF(WIN32 AND CMAKE_COMPILER_IS_GNUCC)
+ SET_PROPERTY(TARGET bsincgen APPEND_STRING PROPERTY LINK_FLAGS " -municode")
+ ENDIF()
IF(ALSOFT_INSTALL)
INSTALL(TARGETS openal-info makehrtf bsincgen