Skip to content

Commit 04c2960

Browse files
mbelickisys_zuul
authored andcommitted
Removed legacy C++ standard flag handling for GCC and clang.
Change-Id: Ib00d6493e5de2882a608e664e5022de58a00639d
1 parent 291ebaf commit 04c2960

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

IGC/CMakeLists.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,23 +2907,6 @@ if(_igc_compiler_is_gnu_or_clang)
29072907
)
29082908
endif()
29092909

2910-
if(ANDROID AND _igc_compiler_is_clang)
2911-
set(_igc_cxx_standard "-std=gnu++14")
2912-
else()
2913-
set(_igc_cxx_standard "-std=c++14")
2914-
endif()
2915-
2916-
if(_igc_compiler_is_gnu_or_clang)
2917-
igc_config_flag_apply_settings(
2918-
CompilerOptions
2919-
CMAKE_CXX_FLAGS
2920-
ALL_PATTERN ""
2921-
SET_RAW
2922-
${_igc_cxx_standard}
2923-
)
2924-
endif()
2925-
2926-
29272910
# ============================================ Linker options ==========================================
29282911

29292912
foreach(_linkerFlagName IN ITEMS "CMAKE_EXE_LINKER_FLAGS" "CMAKE_SHARED_LINKER_FLAGS")

0 commit comments

Comments
 (0)