浏览代码

Merge pull request #13447 from richardkchapman/aws-osx

HPCC-23632 Move the AWS support libraries

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 5 年之前
父节点
当前提交
c5f65c0214
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      system/aws/CMakeLists.txt

+ 1 - 1
system/aws/CMakeLists.txt

@@ -4,7 +4,7 @@ if(USE_AWS)
 
     project(aws)
     set(AWS_SDK_CPP_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/aws-sdk-cpp)
-    if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
+    if (CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0.0)
       set(EXTERNAL_SQS_CXX_FLAGS "-Wno-error=implicit-fallthrough -Wno-error=int-in-bool-context -Wno-error=format-nonliteral" )
     endif()