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:
2019-04-16 06:18:52 +02:00
parent 813e470eac
commit 5498e7f193
62 changed files with 331 additions and 6 deletions

View File

@@ -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()