mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
moved msys2 toolchain, boost libs fix
This commit is contained in:
parent
ca569549ec
commit
b5d51e30d9
3 changed files with 6 additions and 2 deletions
|
@ -164,6 +164,10 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (BOOST_IGNORE_SYSTEM_PATHS)
|
||||||
|
set(Boost_NO_SYSTEM_PATHS TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(STATIC)
|
if(STATIC)
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
set(Boost_USE_STATIC_RUNTIME ON)
|
set(Boost_USE_STATIC_RUNTIME ON)
|
||||||
|
|
|
@ -8,7 +8,7 @@ set (CMAKE_NM nm CACHE FILEPATH "" FORCE)
|
||||||
#set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
|
#set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
|
||||||
set (CMAKE_RC_COMPILER windres)
|
set (CMAKE_RC_COMPILER windres)
|
||||||
|
|
||||||
set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw32)
|
set (CMAKE_FIND_ROOT_PATH "${MSYS2_FOLDER}/mingw32")
|
||||||
|
|
||||||
# Ensure cmake doesn't find things in the wrong places
|
# Ensure cmake doesn't find things in the wrong places
|
||||||
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host
|
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host
|
|
@ -8,7 +8,7 @@ set (CMAKE_NM nm CACHE FILEPATH "" FORCE)
|
||||||
#set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
|
#set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
|
||||||
set (CMAKE_RC_COMPILER windres)
|
set (CMAKE_RC_COMPILER windres)
|
||||||
|
|
||||||
set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw64)
|
set (CMAKE_FIND_ROOT_PATH "${MSYS2_FOLDER}/mingw64")
|
||||||
|
|
||||||
# Ensure cmake doesn't find things in the wrong places
|
# Ensure cmake doesn't find things in the wrong places
|
||||||
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host
|
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host
|
Loading…
Reference in a new issue