summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/llmath/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
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 ()