summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/jp2/CMakeLists.txt2
-rw-r--r--src/bin/jpwl/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
index 46943c5e..aee330a5 100644
--- a/src/bin/jp2/CMakeLists.txt
+++ b/src/bin/jp2/CMakeLists.txt
@@ -36,7 +36,7 @@ foreach(exe opj_decompress opj_compress opj_dump)
# To support universal exe:
if(ZLIB_FOUND AND APPLE)
target_link_libraries(${exe} z)
- ELSe(ZLIB_FOUND AND APPLE)
+ else(ZLIB_FOUND AND APPLE)
target_link_libraries(${exe} ${Z_LIBNAME})
endif()
diff --git a/src/bin/jpwl/CMakeLists.txt b/src/bin/jpwl/CMakeLists.txt
index 553b38e6..a9461aba 100644
--- a/src/bin/jpwl/CMakeLists.txt
+++ b/src/bin/jpwl/CMakeLists.txt
@@ -45,7 +45,7 @@ foreach(exe decompress compress)
# To support universal exe:
if(ZLIB_FOUND AND APPLE)
target_link_libraries(${jpwl_exe} z)
- ELSe(ZLIB_FOUND AND APPLE)
+ else(ZLIB_FOUND AND APPLE)
target_link_libraries(${jpwl_exe} ${Z_LIBNAME})
endif()