diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ca20ae96..a1b64aec2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,9 @@ include(AwsSanitizers) include(AwsThreadAffinity) include(AwsThreadName) include(CTest) +include(AwsCRuntime) + +aws_determine_local_c_runtime(AWS_C_RUNTIME) set(GENERATED_ROOT_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated") set(GENERATED_INCLUDE_DIR "${GENERATED_ROOT_DIR}/include") @@ -319,5 +322,4 @@ if (ALLOW_CROSS_COMPILED_TESTS OR NOT CMAKE_CROSSCOMPILING) endif() include(CPackConfig) -aws_determine_local_c_runtime(AWS_C_RUNTIME)