Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/datatoc/CMakeLists.txt')
-rw-r--r--source/blender/datatoc/CMakeLists.txt52
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()