From 3e0c9a36c09554d4b87cecf3ca3869569cd50868 Mon Sep 17 00:00:00 2001 From: "Jonathan M. Henson" Date: Wed, 30 Oct 2019 11:51:30 -0700 Subject: [PATCH] Don't mark project as CXX or try_compile will fail on some cmake versions. (#70) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 128074b23..f0dece20c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,12 +74,12 @@ if (BUILD_DEPS) #we don't want happening until we're done with the above code. list(APPEND CMAKE_PREFIX_PATH "${AWS_DEPS_INSTALL_DIR}") - project(aws-iot-device-sdk-cpp-v2 CXX) + project(aws-iot-device-sdk-cpp-v2) else() #the following two lines are done in this branch intentionally, don't move it. project() does some magic that #we want happening exactly right now. - project(aws-iot-device-sdk-cpp-v2 CXX) + project(aws-iot-device-sdk-cpp-v2) endif()