diff options
-rw-r--r-- | compiler-rt/lib/builtins/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt index 2fc70522895f..3cd193e2f5f8 100644 --- a/compiler-rt/lib/builtins/CMakeLists.txt +++ b/compiler-rt/lib/builtins/CMakeLists.txt @@ -12,7 +12,6 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) "at least 3.20.0 now to avoid issues in the future!") endif() - set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) project(CompilerRTBuiltins C ASM) set(COMPILER_RT_STANDALONE_BUILD TRUE) set(COMPILER_RT_BUILTINS_STANDALONE_BUILD TRUE) @@ -57,6 +56,8 @@ if (COMPILER_RT_STANDALONE_BUILD) ON) endif() +set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) + include(builtin-config-ix) include(CMakePushCheckState) |