Skip to content

Commit

Permalink
CMake: Don't use system libraries when compiling with mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
neobrain committed Sep 6, 2024
1 parent c76b7bf commit 355c342
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolchain_mingw.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 355c342

Please sign in to comment.