diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-12 17:35:46 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 14:56:54 +0800 |
commit | 1063416e8dcffe623f4d8a94c913ffc1fa048b6a (patch) | |
tree | cc57fe85622fed836139f2f16963fa208828bef7 | |
parent | 9dd2b858e8a60c8f31a491b04d7d0388fb80a852 (diff) |
Use C++14 specifically on DAE loader
When using system vanilla COLLADA DOM, it still uses std::auto_ptr which
is deprecated in C++17.
-rw-r--r-- | indra/llprimitive/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/CMakeLists.txt b/indra/llprimitive/CMakeLists.txt index b6e8773d03..3a3de75cd0 100644 --- a/indra/llprimitive/CMakeLists.txt +++ b/indra/llprimitive/CMakeLists.txt @@ -67,6 +67,8 @@ target_link_libraries(llprimitive ) if (NOT (USE_AUTOBUILD_3P OR USE_CONAN)) + set_source_files_properties(lldaeloader.cpp PROPERTIES COMPILE_FLAGS + -std=c++14) add_subdirectory(llphysicsextensions) endif () |