diff options
author | Rechi <Rechi@users.noreply.github.com> | 2023-02-22 11:50:25 +1000 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2023-02-22 11:50:25 +1000 |
commit | aece6a8b3c52cdd64f1aa6c58aa6be33efdabc29 (patch) | |
tree | 5da309d23c4cfbffcb58a871a4e2196fa29b34ce /cmake/scripts/linux/ArchSetup.cmake | |
parent | 31fa7d1fce73ad47b8dc06d09e67aa459fbe4354 (diff) |
[cmake] remove deprecated CMAKE_COMPILER_IS_GNUCXX
Diffstat (limited to 'cmake/scripts/linux/ArchSetup.cmake')
-rw-r--r-- | cmake/scripts/linux/ArchSetup.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake index 4083483173..5fbed4d74c 100644 --- a/cmake/scripts/linux/ArchSetup.cmake +++ b/cmake/scripts/linux/ArchSetup.cmake @@ -83,7 +83,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TYPE STREQUAL MinSizeRel) set(NJOBS ${USE_LTO}) endif() - if(CMAKE_COMPILER_IS_GNUCXX) + if(CMAKE_CXX_COMPILER_ID STREQUAL GNU) # GCC # Make sure we strip binaries in Release build set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") |