diff options
Diffstat (limited to 'indra/llmath/CMakeLists.txt')
| -rw-r--r-- | indra/llmath/CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/indra/llmath/CMakeLists.txt b/indra/llmath/CMakeLists.txt index bd860adc31..e21b6fdb84 100644 --- a/indra/llmath/CMakeLists.txt +++ b/indra/llmath/CMakeLists.txt @@ -6,7 +6,6 @@ include(00-Common) include(LLCommon) include(bugsplat) include(Boost) -include(SSE2NEON) set(llmath_SOURCE_FILES llbbox.cpp @@ -99,11 +98,20 @@ set(llmath_HEADER_FILES list(APPEND llmath_SOURCE_FILES ${llmath_HEADER_FILES}) +include_directories(${LIBS_PREBUILT_DIR}/include) + add_library (llmath ${llmath_SOURCE_FILES}) -target_link_libraries(llmath llcommon llmeshoptimizer ll::sse2neon) +target_link_libraries(llmath llcommon llmeshoptimizer) target_include_directories( llmath INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) +if (CMAKE_CXX_COMPILER_ID MATCHES GNU) + set_source_files_properties(llcalc.cpp PROPERTIES + COMPILE_FLAGS -Wno-dangling-pointer) +endif () + +include(LibraryInstall) + # Add tests if (LL_TESTS) include(LLAddBuildTest) |
