From a02363325ea44e863bf4d15f2c9d3df02ef4ff26 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Thu, 12 Mar 2020 12:29:12 -0400 Subject: [PATCH] move cmake unix down --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b9860b8a..8dbbb6d00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,10 +65,7 @@ else() endif(MSVC_VERSION) include(cmake/solaris.cmake) -include(cmake/unix.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") @@ -76,6 +73,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake") 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]'.") +include(cmake/unix.cmake) + if(NOT WIN32) if(IOS OR ANDROID) set(NON_PC_TARGET ON)