CMake: fix building without smoke enabled

Was removed when removing sorted libs however it's needed for stubs.
This commit is contained in:
Campbell Barton
2019-04-19 13:54:43 +02:00
parent 60d733c563
commit eb844fc1da
2 changed files with 3 additions and 6 deletions

View File

@@ -49,6 +49,7 @@ set(INC
../../../intern/libmv
../../../intern/opensubdiv
../../../extern/curve_fit_nd
../../../intern/smoke/extern
)
set(INC_SYS
@@ -521,9 +522,6 @@ if(WITH_MOD_FLUID)
endif()
if(WITH_MOD_SMOKE)
list(APPEND INC
../../../intern/smoke/extern
)
list(APPEND LIB
bf_intern_smoke
)

View File

@@ -82,14 +82,13 @@
//#define DEBUG_TIME
#include "smoke_API.h"
#ifdef DEBUG_TIME
# include "PIL_time.h"
#endif
#ifdef WITH_SMOKE
# include "smoke_API.h"
# include "BLI_task.h"
# include "BLI_kdtree.h"
# include "BLI_voxel.h"