Skip to content

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

C

CMake: cleanup indentation

Campbell Bartonfb6d38d59cd9
diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt
index 54e172ba5..246c7868e 100644
--- a/toonz/sources/CMakeLists.txt
+++ b/toonz/sources/CMakeLists.txt
@@ -318,7 +318,7 @@ elseif(APPLE)
message("**************** lz4 lib:" ${LZ4_LIB_INCLUDE_DIRS})
find_path(LZ4_STATIC lz4frame_static.h PATH ${LZ4_LIB_INCLUDE_DIRS})
if(LZ4_STATIC-FOUND)
- add_definitions(-DLZ4_STATIC)
+ add_definitions(-DLZ4_STATIC)
endif()
pkg_check_modules(USB_LIB REQUIRED libusb-1.0)
@@ -368,7 +368,7 @@ elseif(UNIX)
message("**************** lz4 lib:" ${LZ4_LIB_INCLUDE_DIRS})
find_path(LZ4_STATIC lz4frame_static.h PATH ${LZ4_LIB_INCLUDE_DIRS})
if(LZ4_STATIC-FOUND)
- add_definitions(-DLZ4_STATIC)
+ add_definitions(-DLZ4_STATIC)
endif()
pkg_check_modules(USB_LIB REQUIRED libusb-1.0)
diff --git a/toonz/sources/sound/CMakeLists.txt b/toonz/sources/sound/CMakeLists.txt
index bb66ec3a0..6b0e7d2fe 100644
--- a/toonz/sources/sound/CMakeLists.txt
+++ b/toonz/sources/sound/CMakeLists.txt
@@ -15,7 +15,7 @@ set(SOURCES
raw/tsio_raw.cpp
mp3/tsio_mp3.cpp
)
-
+
add_library(sound SHARED ${HEADERS} ${SOURCES})
add_definitions(
-DSOUND_EXPORTS
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt
index ebddfff06..2b9a0443b 100644
--- a/toonz/sources/toonz/CMakeLists.txt
+++ b/toonz/sources/toonz/CMakeLists.txt
@@ -142,8 +142,8 @@ set(MOC_HEADERS
historypane.h
cleanupsettingspane.h
penciltestpopup.h
- locatorpopup.h
- styleshortcutswitchablepanel.h
+ locatorpopup.h
+ styleshortcutswitchablepanel.h
# Tracker file
dummyprocessor.h
metnum.h
diff --git a/toonz/sources/toonzqt/CMakeLists.txt b/toonz/sources/toonzqt/CMakeLists.txt
index 9509daa1a..0463e3328 100644
--- a/toonz/sources/toonzqt/CMakeLists.txt
+++ b/toonz/sources/toonzqt/CMakeLists.txt
@@ -204,7 +204,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(incs)
foreach(dir ${Qt5Widgets_INCLUDE_DIRS})
- set(incs ${incs} -I${dir})
+ set(incs ${incs} -I${dir})
endforeach()
qt5_add_resources(SOURCES ${RESOURCES})