File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # Target operating system and architecture
2+ set ( CMAKE_SYSTEM_NAME Windows )
3+ set ( CMAKE_SYSTEM_PROCESSOR x86 )
4+
5+ # C/C++ compilers
6+ set ( CMAKE_C_COMPILER i686-w64-mingw32-gcc )
7+ set ( CMAKE_CXX_COMPILER i686-w64-mingw32-g++ )
8+ set ( CMAKE_RC_COMPILER i686-w64-mingw32-windres )
9+
10+ # Target prefix
11+ set ( CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32 )
12+
13+ # Find programs using host paths and headers/libraries using target paths
14+ set ( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
15+ set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
16+ set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
Original file line number Diff line number Diff line change 1+ # Target operating system and architecture
2+ set ( CMAKE_SYSTEM_NAME Windows )
3+ set ( CMAKE_SYSTEM_PROCESSOR x86_64 )
4+
5+ # C/C++ compilers
6+ set ( CMAKE_C_COMPILER x86_64-w64-mingw32-gcc )
7+ set ( CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++ )
8+ set ( CMAKE_RC_COMPILER x86_64-w64-mingw32-windres )
9+
10+ # Target prefix
11+ set ( CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32 )
12+
13+ # Find programs using host paths and headers/libraries using target paths
14+ set ( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER )
15+ set ( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )
16+ set ( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
You can’t perform that action at this time.
0 commit comments