diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/datatoc/CMakeLists.txt | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/datatoc/CMakeLists.txt')
-rw-r--r-- | source/blender/datatoc/CMakeLists.txt | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt index d2d91ae8664..734171afa07 100644 --- a/source/blender/datatoc/CMakeLists.txt +++ b/source/blender/datatoc/CMakeLists.txt @@ -19,7 +19,7 @@ # ----------------------------------------------------------------------------- # Build datatoc executable set(SRC - datatoc.c + datatoc.c ) # SRC_DNA_INC is defined in the parent dir @@ -31,35 +31,35 @@ add_executable(datatoc ${SRC}) if(NOT WITH_HEADLESS) - set(SRC - datatoc_icon.c - ) - setup_platform_linker_flags() - if(WIN32) - include_directories( - ../blenlib - ../../../intern/utfconv - ) + set(SRC + datatoc_icon.c + ) + setup_platform_linker_flags() + if(WIN32) + include_directories( + ../blenlib + ../../../intern/utfconv + ) - # for winstuff_dir.c - add_definitions(-DUSE_STANDALONE) + # for winstuff_dir.c + add_definitions(-DUSE_STANDALONE) - list(APPEND SRC - ../blenlib/intern/winstuff_dir.c - ../../../intern/utfconv/utfconv.c - ) + list(APPEND SRC + ../blenlib/intern/winstuff_dir.c + ../../../intern/utfconv/utfconv.c + ) - endif() + endif() - include_directories(${PNG_INCLUDE_DIRS}) - link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH}) + include_directories(${PNG_INCLUDE_DIRS}) + link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH}) - add_executable(datatoc_icon ${SRC}) + add_executable(datatoc_icon ${SRC}) - target_link_libraries(datatoc_icon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES}) - # PNG library uses pow() and floow(), so seems -lm is required for proper - # workign binary. - if(UNIX AND NOT APPLE) - target_link_libraries(datatoc_icon m) - endif() + target_link_libraries(datatoc_icon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES}) + # PNG library uses pow() and floow(), so seems -lm is required for proper + # workign binary. + if(UNIX AND NOT APPLE) + target_link_libraries(datatoc_icon m) + endif() endif() |