summaryrefslogtreecommitdiff
path: root/src/bin/jp2/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/jp2/CMakeLists.txt')
-rw-r--r--src/bin/jp2/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
index 29b4dd20..26156bcb 100644
--- a/src/bin/jp2/CMakeLists.txt
+++ b/src/bin/jp2/CMakeLists.txt
@@ -44,9 +44,7 @@ endif()
# Loop over all executables:
foreach(exe opj_decompress opj_compress opj_dump)
add_executable(${exe} ${exe}.c ${common_SRCS})
- if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.12")
- target_compile_options(${exe} PRIVATE ${OPENJP2_COMPILE_OPTIONS})
- endif()
+ target_compile_options(${exe} PRIVATE ${OPENJP2_COMPILE_OPTIONS})
target_link_libraries(${exe} ${OPENJPEG_LIBRARY_NAME}
${PNG_LIBNAME} ${TIFF_LIBNAME} ${LCMS_LIBNAME}
)