From 318820fc326783a772cdd19739c231446e4b2007 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Fri, 27 Dec 2024 12:08:16 +0100 Subject: [PATCH] wip2 --- rhubarb/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rhubarb/CMakeLists.txt b/rhubarb/CMakeLists.txt index c13bc993..be20efcc 100644 --- a/rhubarb/CMakeLists.txt +++ b/rhubarb/CMakeLists.txt @@ -10,7 +10,11 @@ string(REGEX REPLACE ".*\"([^\"]+)\"" "\\1" appVersion "${appVersion}") project("${appName}") # Store compiler information -if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang") +if( + "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" + OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" + OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang" +) set(compilerIsGccOrClang true) else() set(compilerIsGccOrClang false)