We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b75f5 commit 6110862Copy full SHA for 6110862
CMakeLists.txt
@@ -1,10 +1,8 @@
1
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.13)
2
project(tsreadex LANGUAGES CXX)
3
4
set(CMAKE_CXX_STANDARD 11)
5
6
-# TODO: -municode when MINGW_PREFIX
7
-
8
set(TSREADEX_LIBRARY_SRC util.cpp id3conv.cpp servicefilter.cpp aac.cpp huffman.cpp traceb24.cpp)
9
set(TSREADEX_LIBRARY_HDR util.hpp id3conv.hpp servicefilter.hpp aac.hpp huffman.hpp traceb24.hpp)
10
@@ -16,3 +14,6 @@ export(TARGETS tsreadexlib NAMESPACE tsreadex FILE ${PROJECT_BINARY_DIR}/tsreade
16
14
17
15
add_executable(tsreadex tsreadex.cpp ${TSREADEX_LIBRARY_SRC})
18
+if(MINGW)
+ target_link_options(tsreadex PRIVATE -municode -static)
19
+endif()
0 commit comments