We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b38bf7 commit ffc6d4fCopy full SHA for ffc6d4f
CMakeLists.txt
@@ -12,6 +12,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
12
13
option(LINK_STATICALLY "Link PE-Sieve with static versions of linked libraries" ON)
14
15
+ enable_language(RC)
16
+ set(CMAKE_RC_COMPILE_OBJECT
17
+ "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
18
+
19
add_compile_options(
20
-fpermissive
21
)
mingw_build.sh
@@ -5,6 +5,7 @@ set -e
5
cmake . \
6
-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \
7
-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
8
+ -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \
9
-DCMAKE_SYSTEM_NAME=Windows-GNU \
10
-DPESIEVE_AS_DLL=0 \
11
-DPESIEVE_AS_STATIC_LIB=0 \
0 commit comments