Packaging fixes.

This commit is contained in:
Alexander Shaduri
2024-05-21 20:33:04 +04:00
parent 84867cc474
commit 28cad446b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
#set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
# The target environment. This is a path which is valid for msys2.
set(CMAKE_FIND_ROOT_PATH /mingw32)
set(CMAKE_FIND_ROOT_PATH "$ENV{MINGW_PREFIX}")
# Enable LTO for Release build
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
+1 -1
View File
@@ -17,7 +17,7 @@ set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
#set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
# The target environment. This is a path which is valid for msys2.
set(CMAKE_FIND_ROOT_PATH /mingw64)
set(CMAKE_FIND_ROOT_PATH "$ENV{MINGW_PREFIX}")
# Enable LTO for Release build
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)