diff options
Diffstat (limited to 'source/blender/datatoc/CMakeLists.txt')
-rw-r--r-- | source/blender/datatoc/CMakeLists.txt | 5 |
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) |