Skip to content

Commit 4f924c2

Browse files
ODP-2831 : Use CMAKE_CXX_STANDARD instead of -std=c++11 directly
1 parent b36e55c commit 4f924c2

File tree

1 file changed

+1
-0
lines changed
  • hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src

1 file changed

+1
-0
lines changed

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ set(GTEST_SRC_DIR ${CMAKE_SOURCE_DIR}/../../../../hadoop-common-project/hadoop-c
2727
# Add extra compiler and linker flags.
2828
# -Wno-sign-compare
2929
hadoop_add_compiler_flags("-DNDEBUG -DSIMPLE_MEMCPY -fno-strict-aliasing -fsigned-char")
30+
set(CMAKE_CXX_STANDARD 11)
3031

3132
# Source location.
3233
set(SRC main/native)

0 commit comments

Comments
 (0)