CMake command cleanup

This commit is contained in:
Allen Byrne
2017-01-11 14:17:21 -06:00
parent 244faaa0d0
commit 7fb991e8ed
4 changed files with 10 additions and 12 deletions

View File

@@ -81,7 +81,7 @@ macro (HDF_SET_LIB_OPTIONS libtarget libname libtype)
set (LIB_RELEASE_NAME "${libname}")
set (LIB_DEBUG_NAME "${libname}_debug")
endif ()
else (${libtype} MATCHES "SHARED")
else ()
if (WIN32)
set (LIB_RELEASE_NAME "lib${libname}")
set (LIB_DEBUG_NAME "lib${libname}_D")