Cleanup: quiet use of unknown variable warning in CMake

Also set variables instead of appending as they won't have been defined.
This commit is contained in:
Campbell Barton
2025-08-21 12:13:51 +10:00
parent 2e6fb3e8e7
commit be5a4606ff

View File

@@ -3,17 +3,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
if(WITH_OPENVDB)
list(APPEND INC
set(INC_SYS
)
set(INC
PUBLIC .
)
list(APPEND SRC
set(SRC
openvdb_capi.h
openvdb_fwd.hh
openvdb_capi.cc
)
list(APPEND LIB
set(LIB
PUBLIC bf::dependencies::optional::openvdb
)
@@ -23,4 +26,4 @@ else()
add_library(bf_intern_openvdb INTERFACE)
endif()
add_library(bf::intern::optional::openvdb ALIAS bf_intern_openvdb)
add_library(bf::intern::optional::openvdb ALIAS bf_intern_openvdb)