Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

macos fix: add mypaint lib directory (#6873)

shun-iwasawa5bcb38410ca3
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt
index 7307ec5a5..0538409bf 100644
--- a/toonz/sources/toonz/CMakeLists.txt
+++ b/toonz/sources/toonz/CMakeLists.txt
@@ -549,6 +549,8 @@ elseif(BUILD_ENV_APPLE)
endif()
endif()
+ target_link_directories(OpenToonz PRIVATE ${MYPAINT_LIB_LIBRARY_DIRS})
+
target_link_libraries(OpenToonz
Qt5::Core Qt5::Gui Qt5::Network Qt5::OpenGL Qt5::Svg Qt5::Xml
Qt5::Script Qt5::Widgets Qt5::PrintSupport Qt5::Multimedia Qt5::MultimediaWidgets Qt5::UiTools