aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux/ArchSetup.cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2023-02-22 11:50:25 +1000
committerRechi <Rechi@users.noreply.github.com>2023-02-22 11:50:25 +1000
commitaece6a8b3c52cdd64f1aa6c58aa6be33efdabc29 (patch)
tree5da309d23c4cfbffcb58a871a4e2196fa29b34ce /cmake/scripts/linux/ArchSetup.cmake
parent31fa7d1fce73ad47b8dc06d09e67aa459fbe4354 (diff)
[cmake] remove deprecated CMAKE_COMPILER_IS_GNUCXX
Diffstat (limited to 'cmake/scripts/linux/ArchSetup.cmake')
-rw-r--r--cmake/scripts/linux/ArchSetup.cmake2
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")