summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-01 12:29:09 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-01 12:29:09 +0000
commitf501186b18734d4bd96bec68d9d513c8a68f81d5 (patch)
treed93cd7900def65078bfbc8eab5dd6034e1c85b15
parentfe6d9ed9ba8c63c13cb4fabd6e8d43c1312beaa8 (diff)
[trunk] Fix minor cmake style
-rw-r--r--src/bin/jp2/CMakeLists.txt2
-rw-r--r--src/bin/jpwl/CMakeLists.txt2
-rw-r--r--tests/CMakeLists.txt2
3 files changed, 3 insertions, 3 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()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 9cd5041e..e01834a6 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -29,7 +29,7 @@ target_link_libraries(comparePGXimages
# To support universal exe:
if(ZLIB_FOUND AND APPLE)
target_link_libraries(comparePGXimages z)
-ELSe(ZLIB_FOUND AND APPLE)
+else(ZLIB_FOUND AND APPLE)
target_link_libraries(comparePGXimages ${Z_LIBNAME})
endif()