Fix typo (that brakes building with '-DBUILD_MJ2:bool=on')

Fixes #556
This commit is contained in:
mayeut 2015-07-30 23:34:12 +02:00
parent 75a33de3bc
commit 372c887aad
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ if(UNIX)
target_link_libraries(${OPENMJ2_LIBRARY_NAME} m) target_link_libraries(${OPENMJ2_LIBRARY_NAME} m)
endif() endif()
set_target_properties(${OPENMJ2_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES}) 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 library
install(TARGETS ${OPENMJ2_LIBRARY_NAME} install(TARGETS ${OPENMJ2_LIBRARY_NAME}