]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Fix minor cmake style
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 1 Oct 2012 12:29:09 +0000 (12:29 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 1 Oct 2012 12:29:09 +0000 (12:29 +0000)
src/bin/jp2/CMakeLists.txt
src/bin/jpwl/CMakeLists.txt
tests/CMakeLists.txt

index 46943c5ed7c575bfa4101dcdf08a16af39757582..aee330a596048f512b885f4082a300c2dc3e6c34 100644 (file)
@@ -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()
 
index 553b38e60a48af4e5f258b03c1ab4d77de120f6e..a9461aba9653952a1d23966eadfaa2b9c12ac9ce 100644 (file)
@@ -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()
   
index 9cd5041ecf3c4eb5d4ce152e7359e67fcb148e40..e01834a67108a53dd4a146515319337e07362f57 100644 (file)
@@ -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()