Cleanup: CMake: Modernize bf_extern_curve_fit_nd dependencies #110762

Merged
Ray molenkamp merged 1 commits from LazyDodo/blender:tmp_cmake_curvefit_nd into main 2023-08-03 16:50:32 +02:00
3 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later # SPDX-License-Identifier: GPL-2.0-or-later
set(INC set(INC
. PUBLIC .
) )
set(INC_SYS set(INC_SYS
@ -26,3 +26,4 @@ set(LIB
) )
blender_add_lib(extern_curve_fit_nd "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") blender_add_lib(extern_curve_fit_nd "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
add_library(bf::extern::curve_fit_nd ALIAS extern_curve_fit_nd)

View File

@ -32,7 +32,6 @@ set(INC
../../../intern/memutil ../../../intern/memutil
../../../intern/mikktspace ../../../intern/mikktspace
../../../intern/opensubdiv ../../../intern/opensubdiv
../../../extern/curve_fit_nd
../../../extern/fmtlib/include ../../../extern/fmtlib/include
# RNA_prototypes.h # RNA_prototypes.h
@ -542,6 +541,7 @@ set(LIB
bf_depsgraph bf_depsgraph
PRIVATE bf::dna PRIVATE bf::dna
bf_draw bf_draw
PRIVATE bf::extern::curve_fit_nd
bf_functions bf_functions
bf_gpencil_modifiers_legacy bf_gpencil_modifiers_legacy
bf_gpu bf_gpu

View File

@ -11,7 +11,6 @@ set(INC
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/clog ../../../../intern/clog
../../../../extern/curve_fit_nd
# RNA_prototypes.h # RNA_prototypes.h
${CMAKE_BINARY_DIR}/source/blender/makesrna ${CMAKE_BINARY_DIR}/source/blender/makesrna
) )
@ -38,6 +37,7 @@ set(LIB
bf_blenkernel bf_blenkernel
PRIVATE bf::blenlib PRIVATE bf::blenlib
PRIVATE bf::dna PRIVATE bf::dna
PRIVATE bf::extern::curve_fit_nd
PRIVATE bf::intern::guardedalloc PRIVATE bf::intern::guardedalloc
extern_curve_fit_nd extern_curve_fit_nd
) )