From b3c6ab50844e9e88d9009b5d7367dada0541d253 Mon Sep 17 00:00:00 2001 From: Ankit Meel Date: Sun, 20 Sep 2020 15:20:31 +0530 Subject: Fix datatoc_icon linker errors with ASan enabled. Error introduced in {rBf9fcb25d521d}. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8964 --- source/blender/datatoc/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/datatoc/CMakeLists.txt') 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 -- cgit v1.2.3