mirror of
https://github.com/minetest-mods/irc.git
synced 2024-11-05 01:30:19 +01:00
Various fixes
This commit is contained in:
parent
abebe6d501
commit
e19efe7024
|
@ -7,6 +7,8 @@ project(MINETEST_IRC C)
|
|||
|
||||
set(MINETEST_IRC_VERSION 0.1.0)
|
||||
|
||||
list_append(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
|
||||
if(CMAKE_TOOLCHAIN_FILE)
|
||||
include(${CMAKE_TOOLCHAIN_FILE})
|
||||
endif()
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
|
||||
# :mode=cmake:
|
||||
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
|
||||
set(PLATFORM i586-mingw32msvc)
|
||||
|
||||
set(MGW_TOOLCHAIN_PATH
|
||||
/usr/${PLATFORM}
|
||||
)
|
||||
|
||||
set(WIN32 1)
|
||||
|
||||
set(CMAKE_C_COMPILER /usr/bin/${PLATFORM}-gcc)
|
||||
set(CMAKE_RC_COMPILER /usr/bin/${PLATFORM}-windres)
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH ${MGW_TOOLCHAIN_PATH})
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
Loading…
Reference in New Issue
Block a user