Fix datatoc_icon linker errors with ASan enabled.
Error introduced in {rBf9fcb25d521d}.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D8964
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user