diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt index af8ea55..b06a20d 100644 --- a/toonz/sources/CMakeLists.txt +++ b/toonz/sources/CMakeLists.txt @@ -92,7 +92,7 @@ elseif(UNIX) else() set(PLATFORM 32) endif() - if (CMAKE_SYSTEM_NAME MATCHES "Linux") + if(CMAKE_SYSTEM_NAME MATCHES "Linux") add_definitions(-DLINUX) else() message(WARNING "Support for generic Unix (Not Apple or Linux) isn't yet working!") diff --git a/toonz/sources/tnztools/CMakeLists.txt b/toonz/sources/tnztools/CMakeLists.txt index 8f2b1c2..c597e31 100644 --- a/toonz/sources/tnztools/CMakeLists.txt +++ b/toonz/sources/tnztools/CMakeLists.txt @@ -11,7 +11,7 @@ set(MOC_HEADERS ../include/tools/screenpicker.h rgbpickertool.h rulertool.h - stylepickertool.h + stylepickertool.h ) set(HEADERS ${MOC_HEADERS} diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt index 62ee338..43f9bb4 100644 --- a/toonz/sources/toonz/CMakeLists.txt +++ b/toonz/sources/toonz/CMakeLists.txt @@ -141,7 +141,7 @@ set(MOC_HEADERS historypane.h cleanupsettingspane.h penciltestpopup.h - locatorpopup.h + locatorpopup.h # Tracker file dummyprocessor.h metnum.h @@ -301,7 +301,7 @@ set(SOURCES historypane.cpp cleanupsettingspane.cpp penciltestpopup.cpp - locatorpopup.cpp + locatorpopup.cpp # Tracker file dummyprocessor.cpp metnum.cpp @@ -378,7 +378,7 @@ if(WIN32) endif() endif() -if(WIN32) +if(WIN32) target_link_libraries(OpenToonz_${VERSION} Qt5::WinMain Qt5::Core Qt5::Gui Qt5::Network Qt5::OpenGL Qt5::Svg Qt5::Xml Qt5::Script Qt5::Widgets Qt5::PrintSupport Qt5::Multimedia @@ -434,10 +434,10 @@ if(APPLE) get_target_property(loc OpenToonz_${VERSION} MACOSX_BUNDLE_NAME) message(" ==> App Bundle: " ${loc}) message(" ==> Mach-o: " ${bin}) - foreach (lib ${EXTRA_LIBS}) + foreach(lib ${EXTRA_LIBS}) message(" copy:" ${lib} "==>" ${CMAKE_CURRENT_BINARY_DIR}/OpenToonz_${VERSION}.app/Contents/MacOS/) add_custom_command(TARGET OpenToonz_${VERSION} POST_BUILD COMMAND cp ${lib} ${CMAKE_CURRENT_BINARY_DIR}/OpenToonz_${VERSION}.app/Contents/MacOS/) - endforeach () + endforeach() add_custom_command(TARGET OpenToonz_${VERSION} POST_BUILD COMMAND