diff options
Diffstat (limited to 'config/cmake_ext_mod/FindSZIP.cmake')
-rw-r--r-- | config/cmake_ext_mod/FindSZIP.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/FindSZIP.cmake b/config/cmake_ext_mod/FindSZIP.cmake index 04782f3..1709c2b 100644 --- a/config/cmake_ext_mod/FindSZIP.cmake +++ b/config/cmake_ext_mod/FindSZIP.cmake @@ -58,7 +58,6 @@ MACRO (SZIP_ADJUST_LIB_VARS basename) if (${basename}_LIBRARY) set (${basename}_FOUND 1) endif () - endif () # Make variables changeble to the advanced user @@ -120,7 +119,7 @@ if (SZIP_INCLUDE_DIR AND SZIP_LIBRARY) if (SZIP_LIBRARY_DEBUG) get_filename_component (SZIP_LIBRARY_PATH ${SZIP_LIBRARY_DEBUG} PATH) set (SZIP_LIB_DIR ${SZIP_LIBRARY_PATH}) - elseif (SZIP_LIBRARY_RELEASE) + elseif () get_filename_component (SZIP_LIBRARY_PATH ${SZIP_LIBRARY_RELEASE} PATH) set (SZIP_LIB_DIR ${SZIP_LIBRARY_PATH}) endif () |