[trunk] Fix minor cmake style
This commit is contained in:
parent
fe6d9ed9ba
commit
f501186b18
|
@ -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()
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue