mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-01 01:47:42 +00:00
16 lines
540 B
CMake
16 lines
540 B
CMake
|
# Targeted operating system.
|
||
|
set(CMAKE_SYSTEM_NAME Windows)
|
||
|
|
||
|
# Use mingw 64-bit compilers.
|
||
|
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||
|
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||
|
set(CMAKE_FIND_ROOT_PATH /feather/contrib/depends/x86_64-w64-mingw32/)
|
||
|
|
||
|
# Adjust the default behavior of the find commands:
|
||
|
# search headers and libraries in the target environment
|
||
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
||
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||
|
|
||
|
# Search programs in the host environment
|
||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|