Skip to content

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

C

CMake: remove duplicate library linking

Campbell Bartonc6e5093e87f9
diff --git a/toonz/sources/tnzbase/CMakeLists.txt b/toonz/sources/tnzbase/CMakeLists.txt
index d9993d69f..2f0db52b1 100644
--- a/toonz/sources/tnzbase/CMakeLists.txt
+++ b/toonz/sources/tnzbase/CMakeLists.txt
@@ -205,8 +205,6 @@ elseif(APPLE)
${IOKIT_LIB}
${COCOA_LIB}
)
-
- target_link_libraries(tnzbase Qt5::Core Qt5::Gui)
elseif(UNIX)
_find_toonz_library(EXTRA_LIBS "tnzcore")
set(EXTRA_LIBS ${EXTRA_LIBS}
@@ -217,7 +215,6 @@ elseif(UNIX)
SYSTEM
${SDL_LIB_INCLUDE_DIRS}
)
- target_link_libraries(tnzbase Qt5::Core Qt5::Gui)
endif()
target_link_libraries(tnzbase Qt5::Core Qt5::Gui ${EXTRA_LIBS})