CMake: Don't use system libraries when compiling with mingw

This commit is contained in:
Tony Wasserka committed 2024-09-06 10:30:24 +02:00
1 parent c76b7bfe8d
commit 355c3428c0
1 file changed
+2
+2
View File
@@ -15,3 +15,5 @@ set(CMAKE_CXX_STANDARD_LIBRARIES "" CACHE STRING "" FORCE)
set(CMAKE_STANDARD_LIBRARIES "" CACHE STRING "" FORCE)
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR ${MINGW_TRIPLE})
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)