Fix for Mac and Ubuntu

This commit is contained in:
Olivier Prat 2019-03-27 18:34:59 +01:00
parent 610d8347ff
commit eb0e1d5f93

View file

@ -68,6 +68,8 @@ macro(TARGET_OPENEXR)
endforeach(OPENEXR_LIB)
target_link_libraries(${TARGET_NAME} ${OPENEXR_LIBRARIES})
target_compile_definitions(${TARGET_NAME} PUBLIC OPENEXR_DLL)
if (WIN32)
target_compile_definitions(${TARGET_NAME} PUBLIC OPENEXR_DLL)
endif(WIN32)
endif()
endmacro()