From 39b32a9ccc2747c04f2e82b4fa96100a8a3d49a1 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 15 May 2020 09:43:53 -0400 Subject: [PATCH] move check for std::filesystem and std::optional down --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd9971dcb..aa7621efc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,8 +59,6 @@ include(cmake/target_link_libraries_system.cmake) include(cmake/add_import_library.cmake) include(cmake/add_log_tag.cmake) include(cmake/libatomic.cmake) -include(cmake/check_for_std_optional.cmake) -include(cmake/check_for_std_filesystem.cmake) if (STATIC_LINK AND STATIC_LINK_RUNTIME) message(FATAL "Cannot set both STATIC_LINK and STATIC_LINK_RUNTIME") @@ -99,6 +97,8 @@ set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) include(cmake/unix.cmake) +include(cmake/check_for_std_optional.cmake) +include(cmake/check_for_std_filesystem.cmake) if(NOT WIN32) if(IOS OR ANDROID)