summaryrefslogtreecommitdiff
path: root/src/lib/openjpwl
diff options
context:
space:
mode:
authorAndrew Murray <radarhere@users.noreply.github.com>2017-11-14 21:45:09 +1100
committerAndrew Murray <radarhere@users.noreply.github.com>2017-11-14 21:45:09 +1100
commit157a3d840884abe5020b1a8b94576a7447063385 (patch)
tree1d33513815703e131212f4469964a1571759096a /src/lib/openjpwl
parentd9f8f7ba9a51732eda9017cea6493cc86a62c7ef (diff)
Changed cmake version test to allow for cmake 2.8.11.x
Diffstat (limited to 'src/lib/openjpwl')
-rw-r--r--src/lib/openjpwl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjpwl/CMakeLists.txt b/src/lib/openjpwl/CMakeLists.txt
index 9e2ace75..1b33adbe 100644
--- a/src/lib/openjpwl/CMakeLists.txt
+++ b/src/lib/openjpwl/CMakeLists.txt
@@ -51,7 +51,7 @@ if(UNIX)
endif()
set_target_properties(openjpwl
PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
-if(${CMAKE_VERSION} VERSION_GREATER "2.8.11")
+if(NOT ${CMAKE_VERSION} VERSION_LESS "2.8.12")
target_compile_options(openjpwl PRIVATE ${OPENJPEG_LIBRARY_COMPILE_OPTIONS})
endif()