Skip to content

Commit

Permalink
Don't mark project as CXX or try_compile will fail on some cmake vers…
Browse files Browse the repository at this point in the history
…ions. (#70)
  • Loading branch information
JonathanHenson committed Oct 30, 2019
1 parent b15c076 commit 3e0c9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 3e0c9a3

Please sign in to comment.