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:
authorAnkit Meel <ankitjmeel@gmail.com>2020-09-20 12:50:31 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-09-21 14:08:31 +0300
commitb3c6ab50844e9e88d9009b5d7367dada0541d253 (patch)
tree291f0313a5e0f06a9ffa5014a1bcfd73ac818be6 /source/blender/datatoc
parent6836a40287ff2d2fc9f67f8eca93cf8ff6f43a26 (diff)
Fix datatoc_icon linker errors with ASan enabled.
Error introduced in {rBf9fcb25d521d}. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8964
Diffstat (limited to 'source/blender/datatoc')
-rw-r--r--source/blender/datatoc/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/datatoc/CMakeLists.txt b/source/blender/datatoc/CMakeLists.txt
index 3253db2314d..3dc4a1add76 100644
--- a/source/blender/datatoc/CMakeLists.txt
+++ b/source/blender/datatoc/CMakeLists.txt
@@ -55,6 +55,7 @@ if(NOT WITH_HEADLESS)
link_directories(${PNG_LIBPATH} ${ZLIB_LIBPATH})
add_executable(datatoc_icon ${SRC})
+ setup_platform_linker_flags(datatoc_icon)
target_link_libraries(datatoc_icon ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
# PNG library uses pow() and floow(), so seems -lm is required for proper