summaryrefslogtreecommitdiff
path: root/src/lib/openjp3d/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/openjp3d/CMakeLists.txt')
-rw-r--r--src/lib/openjp3d/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp3d/CMakeLists.txt b/src/lib/openjp3d/CMakeLists.txt
index 8f034ffe..df7c9be2 100644
--- a/src/lib/openjp3d/CMakeLists.txt
+++ b/src/lib/openjp3d/CMakeLists.txt
@@ -27,6 +27,7 @@ if(UNIX)
target_link_libraries(${OPENJP3D_LIBRARY_NAME} m)
endif()
set_target_properties(${OPENJP3D_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
+target_compile_options(${OPENJP3D_LIBRARY_NAME} PRIVATE ${OPENJPEG_LIBRARY_COMPILE_OPTIONS})
# Install library
install(TARGETS ${OPENJP3D_LIBRARY_NAME}