fix bug: lzodriver should be bundled
This commit is contained in:
parent
6c9449add3
commit
1a50d4d9ff
1
thirdparty/lzo/driver/CMakeLists.txt
vendored
1
thirdparty/lzo/driver/CMakeLists.txt
vendored
|
@ -22,3 +22,4 @@ else ()
|
|||
target_link_libraries(lzocompress ${LZO_LIBRARY})
|
||||
target_link_libraries(lzodecompress ${LZO_LIBRARY})
|
||||
endif()
|
||||
set(LZODRIVER_FOUND true PARENT_SCOPE)
|
||||
|
|
|
@ -237,10 +237,10 @@ add_subdirectory(colorfx)
|
|||
add_subdirectory(image)
|
||||
add_subdirectory(toonzqt)
|
||||
add_subdirectory(tnztools)
|
||||
add_subdirectory(toonz)
|
||||
|
||||
add_subdirectory(${SDKROOT}/lzo/driver lzodriver)
|
||||
|
||||
add_subdirectory(toonz)
|
||||
add_subdirectory(tcleanupper)
|
||||
add_subdirectory(tcomposer)
|
||||
add_subdirectory(tconverter)
|
||||
|
|
|
@ -377,7 +377,7 @@ if (APPLE)
|
|||
endif()
|
||||
|
||||
# copy utilty executables onto the directory after build
|
||||
if(LZODRIVER-FOUND)
|
||||
if(LZODRIVER_FOUND)
|
||||
add_custom_command(TARGET OpenToonz_${VERSION} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:lzocompress> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} DEPENDS lzocompress)
|
||||
add_custom_command(TARGET OpenToonz_${VERSION} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:lzodecompress> ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} DEPENDS lzodecompress)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue