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.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt
index 78ae00d8a83..a1776c312f4 100644
--- a/source/blender/datatoc/CMakeLists.txt
+++ b/source/blender/datatoc/CMakeLists.txt
@@ -39,9 +39,9 @@ if(NOT WITH_HEADLESS)
)
include_directories(${PNG_INCLUDE_DIR})
+ link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
add_executable(datatoc_icon ${SRC})
- link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
- target_link_libraries(datatoc_icon ${PNG_LIBRARIES})
+ target_link_libraries(datatoc_icon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
endif()