From 02090f361e631a014a3e2d35cb25229ad0f0b843 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Tue, 1 Aug 2023 09:43:21 +0800 Subject: Fix commit 7aa029 --- indra/llmath/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/llmath') diff --git a/indra/llmath/CMakeLists.txt b/indra/llmath/CMakeLists.txt index de00843be3..dfd7491790 100644 --- a/indra/llmath/CMakeLists.txt +++ b/indra/llmath/CMakeLists.txt @@ -104,8 +104,7 @@ include_directories(${CMAKE_SOURCE_DIR}/llmeshoptimizer) target_link_libraries(llmath llcommon) target_include_directories( llmath INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) -if (USESYSTEMLIBS) - AND CMAKE_CXX_COMPILER_ID MATCHES "GNU") +if (USESYSTEMLIBS AND CMAKE_CXX_COMPILER_ID MATCHES "GNU") set_source_files_properties(llcalc.cpp PROPERTIES COMPILE_FLAGS -Wno-dangling-pointer) endif () -- cgit v1.2.3