summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-07-30 23:34:12 +0200
committermayeut <mayeut@users.noreply.github.com>2015-07-30 23:34:12 +0200
commit372c887aadc8ea56916015fc4d2d2a03b9b236d7 (patch)
treef340c6df0a4a41fd9e5aa57153182212f114f2be /src
parent75a33de3bceb5a83888526911e48aed88bed1dbf (diff)
Fix typo (that brakes building with '-DBUILD_MJ2:bool=on')
Fixes #556
Diffstat (limited to 'src')
-rw-r--r--src/lib/openmj2/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openmj2/CMakeLists.txt b/src/lib/openmj2/CMakeLists.txt
index 6fb8709b..0656b252 100644
--- a/src/lib/openmj2/CMakeLists.txt
+++ b/src/lib/openmj2/CMakeLists.txt
@@ -46,7 +46,7 @@ if(UNIX)
target_link_libraries(${OPENMJ2_LIBRARY_NAME} m)
endif()
set_target_properties(${OPENMJ2_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
-target_compile_options(${OPENJ2_LIBRARY_NAME} PRIVATE ${OPENJPEG_LIBRARY_COMPILE_OPTIONS})
+target_compile_options(${OPENMJ2_LIBRARY_NAME} PRIVATE ${OPENJPEG_LIBRARY_COMPILE_OPTIONS})
# Install library
install(TARGETS ${OPENMJ2_LIBRARY_NAME}