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.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt
index 3dc4a1add76..fa400ccf36d 100644
--- a/source/blender/datatoc/CMakeLists.txt
+++ b/source/blender/datatoc/CMakeLists.txt
@@ -52,7 +52,10 @@ if(NOT WITH_HEADLESS)
endif()
include_directories(${PNG_INCLUDE_DIRS})
- link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
+ if(NOT APPLE)
+ # APPLE plaform uses full paths for linking libraries.
+ link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
+ endif(NOT APPLE)
add_executable(datatoc_icon ${SRC})
setup_platform_linker_flags(datatoc_icon)