Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2016-11-05 12:59:05 +01:00 committed by GitHub
parent cebcca9987
commit f5b028eb37
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ endif()
if(CMAKE_CONFIGURATION_TYPES) # multiconfig generator?
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE)
set(OpenBLAS_LIBNAME
$<$<CONFIG:Debug>:"${OpenBLAS_LIBNAME}_d">
$<$<CONFIG:Release>:"${OpenBLAS_LIBNAME}">
Debug "${OpenBLAS_LIBNAME}_d"
Release "${OpenBLAS_LIBNAME}"
)
else()
if( NOT CMAKE_BUILD_TYPE )