CMake: add missing headers to CMake lists

This commit is contained in:
Campbell Barton 2021-11-08 14:43:45 +11:00
parent 27b37517f8
commit fb4b737518
3 changed files with 10 additions and 1 deletions

View File

@ -489,6 +489,9 @@ if(WITH_XR_OPENXR)
intern/GHOST_XrSwapchain.h
intern/GHOST_Xr_intern.h
intern/GHOST_Xr_openxr_includes.h
# Header only library.
../../extern/tinygltf/tiny_gltf.h
)
list(APPEND INC
../../extern/json/include

View File

@ -60,7 +60,11 @@ else()
# -----------------------------------------------------------------------------
# Build `blender-thumbnailer` executable
add_executable(blender-thumbnailer ${SRC} src/blender_thumbnailer.cc)
set(SRC_CMD
src/blender_thumbnailer.cc
)
add_executable(blender-thumbnailer ${SRC} ${SRC_CMD})
target_link_libraries(blender-thumbnailer bf_blenlib)
target_link_libraries(blender-thumbnailer ${PTHREADS_LIBRARIES})
endif()

View File

@ -94,6 +94,8 @@ if(WITH_GTESTS)
tests/FN_generic_vector_array_test.cc
tests/FN_multi_function_procedure_test.cc
tests/FN_multi_function_test.cc
tests/FN_multi_function_test_common.hh
)
set(TEST_LIB
bf_functions