CMake: add library deps to CMakeLists.txt
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
This commit is contained in:
@@ -109,6 +109,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_ALEMBIC)
|
||||
@@ -116,12 +118,18 @@ if(WITH_ALEMBIC)
|
||||
list(APPEND INC
|
||||
../alembic
|
||||
)
|
||||
list(APPEND LIB
|
||||
bf_alembic
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WITH_MOD_REMESH)
|
||||
list(APPEND INC
|
||||
../../../intern/dualcon
|
||||
)
|
||||
list(APPEND LIB
|
||||
bf_intern_dualcon
|
||||
)
|
||||
add_definitions(-DWITH_MOD_REMESH)
|
||||
endif()
|
||||
|
||||
@@ -134,6 +142,9 @@ if(WITH_MOD_OCEANSIM)
|
||||
endif()
|
||||
|
||||
if(WITH_BULLET)
|
||||
list(APPEND LIB
|
||||
extern_bullet
|
||||
)
|
||||
add_definitions(-DWITH_BULLET)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user