Merge pull request #187 from ideasman42/patch-1
Replace deprecated LOCATION with target properties
This commit is contained in:
commit
0066b8a986
1 changed files with 1 additions and 4 deletions
|
@ -361,10 +361,7 @@ else()
|
||||||
_find_toonz_library(EXTRA_LIBS "tnzcore;tnzbase;toonzlib;colorfx;tnzext;image;sound;toonzqt;tnztools")
|
_find_toonz_library(EXTRA_LIBS "tnzcore;tnzbase;toonzlib;colorfx;tnzext;image;sound;toonzqt;tnztools")
|
||||||
|
|
||||||
# 変なところにライブラリ生成するカスども
|
# 変なところにライブラリ生成するカスども
|
||||||
get_target_property(TNZSTDFX_Location tnzstdfx LOCATION)
|
set(EXTRA_LIBS ${EXTRA_LIBS} "$<TARGET_FILE:tnzstdfx>" "$<TARGET_FILE:tfarm>")
|
||||||
get_target_property(TFARM_Location tfarm LOCATION)
|
|
||||||
|
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${TNZSTDFX_Location} ${TFARM_Location})
|
|
||||||
|
|
||||||
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})
|
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})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue