forked from Mirrorlandia_minetest/minetest
master #7
@ -326,6 +326,9 @@ if(HAVE_LINK_ATOMIC)
|
|||||||
set(PLATFORM_LIBS ${PLATFORM_LIBS} "-latomic")
|
set(PLATFORM_LIBS ${PLATFORM_LIBS} "-latomic")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
include(CheckSymbolExists)
|
||||||
|
check_symbol_exists(strlcpy "string.h" HAVE_STRLCPY)
|
||||||
|
|
||||||
check_include_files(endian.h HAVE_ENDIAN_H)
|
check_include_files(endian.h HAVE_ENDIAN_H)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
@ -693,9 +696,6 @@ endif()
|
|||||||
# Set some optimizations and tweaks
|
# Set some optimizations and tweaks
|
||||||
|
|
||||||
include(CheckCSourceCompiles)
|
include(CheckCSourceCompiles)
|
||||||
include(CheckSymbolExists)
|
|
||||||
|
|
||||||
check_symbol_exists(strlcpy "string.h" HAVE_STRLCPY)
|
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${LUA_INCLUDE_DIR})
|
set(CMAKE_REQUIRED_INCLUDES ${LUA_INCLUDE_DIR})
|
||||||
if(USE_LUAJIT)
|
if(USE_LUAJIT)
|
||||||
|
Loading…
Reference in New Issue
Block a user