Skip to content

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

C

CMake: install lzo binaries on Linux

Campbell Bartonc8223fd7267f
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt
index bfff20d20..ebddfff06 100644
--- a/toonz/sources/toonz/CMakeLists.txt
+++ b/toonz/sources/toonz/CMakeLists.txt
@@ -518,6 +518,15 @@ exec \$OPENTOONZ_BASE/bin/OpenToonz_${VERSION} \"\$@\"
DESTINATION bin
)
+ if(LZODRIVER_FOUND)
+ install(
+ PROGRAMS
+ "$<TARGET_FILE:lzocompress>"
+ "$<TARGET_FILE:lzodecompress>"
+ DESTINATION bin
+ )
+ endif()
+
install(
FILES
"$<TARGET_FILE:tnzcore>"