Skip to content

Commit

Permalink
try to bypass cxx flags
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkh committed Sep 25, 2024
1 parent 2eb4c7d commit d69ea0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,13 @@ else()
"-DBUILD_SHARED_LIBS=OFF"
"-DBUILD_ONLY=transfer;s3"
"-DENABLE_TESTING=OFF"
"-DAWS_SDK_WARNINGS_ARE_ERRORS=OFF"
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_INSTALL_PREFIX=${aws_cpp_sdk_INSTALL}"
"-DCMAKE_INSTALL_LIBDIR=lib"
)

if(MSVC)
list(APPEND cmake_args "-DCMAKE_CXX_FLAGS=/EHsc")
list(APPEND cmake_args "-DAWS_SDK_WARNINGS_ARE_ERRORS=OFF")
endif()

include(ExternalProject)
Expand Down

0 comments on commit d69ea0c

Please sign in to comment.