Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2016-11-05 13:26:01 +01:00 committed by GitHub
parent ce372062d6
commit 81ac8aab81
1 changed files with 1 additions and 8 deletions

View File

@ -36,10 +36,6 @@ if(CMAKE_CONFIGURATION_TYPES) # multiconfig generator?
Debug Debug Debug Debug
Release Release Release Release
) )
# set(OpenBLAS_LIBNAME
# Debug "${OpenBLAS_LIBNAME}_d"
# Release "${OpenBLAS_LIBNAME}"
# )
else() else()
if( NOT CMAKE_BUILD_TYPE ) if( NOT CMAKE_BUILD_TYPE )
if(BUILD_DEBUG) if(BUILD_DEBUG)
@ -50,10 +46,7 @@ else()
endif() endif()
endif() endif()
if (CMAKE_BUILD_TYPE STREQUAL Debug) set_target_properties (${OpenBLAS_LIBNAME} PROPERTIES OUTPUT_NAME_DEBUG "${OpenBLAS_LIBNAME}_d")
set(OpenBLAS_LIBNAME "${OpenBLAS_LIBNAME}_d")
endif()
if(BUILD_WITHOUT_CBLAS) if(BUILD_WITHOUT_CBLAS)
set(NO_CBLAS 1) set(NO_CBLAS 1)