Skip to content

Commit 420c3da

Browse files
committed
Try to fix compile error
1 parent 3d3c5fe commit 420c3da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/OpenEXRSetup.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ if(NOT EXR_OPENJPH_LIB)
305305
POSITION_INDEPENDENT_CODE ON
306306
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
307307
)
308+
set_source_files_properties("${openjph_SOURCE_DIR}/src/core/common/coding/ojph_block_encoder_avx512.cpp" PROPERTIES COMPILE_FLAGS "-mavx512f -mavx512cd")
308309
include_directories("${openjph_SOURCE_DIR}/src/core/common")
309310

310311
set(EXR_OPENJPH_LIB openjph)

0 commit comments

Comments
 (0)