Skip to content

Commit 5730746

Browse files
committed
Fixed CXX standard requirement for VDB components in FindOpenVDB.cmake
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent 1233cf9 commit 5730746

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

cmake/FindOpenVDB.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ if(NOT TARGET OpenVDB::openvdb)
766766
INTERFACE_INCLUDE_DIRECTORIES "${OpenVDB_INCLUDE_DIR}"
767767
IMPORTED_LINK_DEPENDENT_LIBRARIES "${_OPENVDB_HIDDEN_DEPENDENCIES}" # non visible deps
768768
INTERFACE_LINK_LIBRARIES "${_OPENVDB_VISIBLE_DEPENDENCIES}" # visible deps (headers)
769-
INTERFACE_COMPILE_FEATURES cxx_std_14
769+
INTERFACE_COMPILE_FEATURES cxx_std_17
770770
)
771771
endif()
772772

@@ -789,7 +789,7 @@ if(OpenVDB_pyopenvdb_LIBRARY)
789789
IMPORTED_LOCATION "${OpenVDB_pyopenvdb_LIBRARY}"
790790
INTERFACE_INCLUDE_DIRECTORIES "${OpenVDB_pyopenvdb_INCLUDE_DIR};${PYTHON_INCLUDE_DIR}"
791791
INTERFACE_LINK_LIBRARIES "OpenVDB::openvdb;Boost::${BOOST_PYTHON_LIB};${PYTHON_LIBRARIES}"
792-
INTERFACE_COMPILE_FEATURES cxx_std_14
792+
INTERFACE_COMPILE_FEATURES cxx_std_17
793793
)
794794
endif()
795795
endif()
@@ -803,7 +803,7 @@ if(OpenVDB_openvdb_houdini_LIBRARY)
803803
IMPORTED_LOCATION "${OpenVDB_openvdb_houdini_LIBRARY}"
804804
INTERFACE_INCLUDE_DIRECTORIES "${OpenVDB_openvdb_houdini_INCLUDE_DIR}"
805805
INTERFACE_LINK_LIBRARIES "OpenVDB::openvdb;Houdini"
806-
INTERFACE_COMPILE_FEATURES cxx_std_14
806+
INTERFACE_COMPILE_FEATURES cxx_std_17
807807
)
808808
endif()
809809
endif()
@@ -833,7 +833,7 @@ if(OpenVDB_openvdb_ax_LIBRARY)
833833
INTERFACE_INCLUDE_DIRECTORIES "${OpenVDB_openvdb_ax_INCLUDE_DIR}"
834834
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${LLVM_INCLUDE_DIRS}"
835835
INTERFACE_LINK_LIBRARIES "OpenVDB::openvdb;${LLVM_LIBS}"
836-
INTERFACE_COMPILE_FEATURES cxx_std_14
836+
INTERFACE_COMPILE_FEATURES cxx_std_17
837837
)
838838
endif()
839839
endif()
@@ -847,7 +847,7 @@ if(OpenVDB_nanovdb_LIBRARY)
847847
IMPORTED_LOCATION "${OpenVDB_nanovdb_LIBRARY}"
848848
INTERFACE_INCLUDE_DIRECTORIES "${OpenVDB_nanovdb_INCLUDE_DIR}"
849849
INTERFACE_LINK_LIBRARIES "OpenVDB::openvdb;"
850-
INTERFACE_COMPILE_FEATURES cxx_std_14
850+
INTERFACE_COMPILE_FEATURES cxx_std_17
851851
)
852852
endif()
853853
endif()
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Build:
2+
- Fixed CXX standard requirement for VDB components in FindOpenVDB.cmake

0 commit comments

Comments
 (0)