From 84ab18ab5c50609c24c12e1f158a9b2ae5544950 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Apr 2016 16:47:43 +1000 Subject: [PATCH] CMake: remove deprecated get_target_property --- toonz/sources/toonz/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt index d3efe1e9..97776f35 100644 --- a/toonz/sources/toonz/CMakeLists.txt +++ b/toonz/sources/toonz/CMakeLists.txt @@ -361,10 +361,7 @@ else() _find_toonz_library(EXTRA_LIBS "tnzcore;tnzbase;toonzlib;colorfx;tnzext;image;sound;toonzqt;tnztools") # 変なところにライブラリ生成するカスども - get_target_property(TNZSTDFX_Location tnzstdfx LOCATION) - get_target_property(TFARM_Location tfarm LOCATION) - - set(EXTRA_LIBS ${EXTRA_LIBS} ${TNZSTDFX_Location} ${TFARM_Location}) + set(EXTRA_LIBS ${EXTRA_LIBS} "$" "$") target_link_libraries(OpenToonz_${VERSION} Qt5::Core Qt5::Gui Qt5::Network Qt5::OpenGL Qt5::Svg Qt5::Xml Qt5::Script Qt5::Widgets Qt5::PrintSupport ${GL_LIB} ${GLUT_LIB} ${COCOA_LIB} ${EXTRA_LIBS})