From 26233195381a0cf246bd4fd988cbcbd8c0481c67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Sat, 16 Mar 2024 22:46:01 +0100 Subject: [PATCH] Update CMakeLists.txt --- src/ui/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 2fc1c6087..03b02b45e 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -121,11 +121,18 @@ set_target_properties( ${PROJECT_VERSION_MAJOR} ) +target_link_directories( + ${PROJECT_NAME} + PRIVATE + ${FFMPEG_LIBRARIES_DIRS} + ${CMAKE_CURRENT_BINARY_DIR}/../engine/skia +) + target_link_libraries( ${PROJECT_NAME} PRIVATE frictioncore ${QT_LIBRARIES} ${SKIA_LIBRARIES} - ${FFMPEG_LIBRARIES_DIRS} + ${FFMPEG_LIBRARIES} )