mirror of https://github.com/oxen-io/lokinet
move cmake unix down
This commit is contained in:
parent
3b26b8b24d
commit
a02363325e
|
@ -65,10 +65,7 @@ else()
|
||||||
endif(MSVC_VERSION)
|
endif(MSVC_VERSION)
|
||||||
|
|
||||||
include(cmake/solaris.cmake)
|
include(cmake/solaris.cmake)
|
||||||
include(cmake/unix.cmake)
|
|
||||||
include(cmake/win32.cmake)
|
include(cmake/win32.cmake)
|
||||||
# try detecting the target arch and set the flags needed here
|
|
||||||
message(STATUS "${CMAKE_SYSTEM_VERSION}")
|
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
|
||||||
|
|
||||||
|
@ -76,6 +73,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
|
||||||
include(MacroEnsureOutOfSourceBuild)
|
include(MacroEnsureOutOfSourceBuild)
|
||||||
macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out-of-source build. Create a build directory and run 'cmake ${CMAKE_SOURCE_DIR} [options]'.")
|
macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out-of-source build. Create a build directory and run 'cmake ${CMAKE_SOURCE_DIR} [options]'.")
|
||||||
|
|
||||||
|
include(cmake/unix.cmake)
|
||||||
|
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
if(IOS OR ANDROID)
|
if(IOS OR ANDROID)
|
||||||
set(NON_PC_TARGET ON)
|
set(NON_PC_TARGET ON)
|
||||||
|
|
Loading…
Reference in New Issue