Update CMakeLists.txt

This commit is contained in:
Martin Kroeker 2016-11-05 13:38:57 +01:00 committed by GitHub
parent 8e7f2809af
commit f00baf32a6
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,6 @@ else()
endif()
endif()
set_target_properties (OpenBLAS PROPERTIES OUTPUT_NAME_DEBUG "${OpenBLAS_LIBNAME}_d")
if(BUILD_WITHOUT_CBLAS)
set(NO_CBLAS 1)
endif()
@ -153,6 +151,8 @@ include("${PROJECT_SOURCE_DIR}/cmake/export.cmake")
# Set output for libopenblas
set_target_properties( ${OpenBLAS_LIBNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
set_target_properties( ${OpenBLAS_LIBNAME} PROPERTIES LIBRARY_OUTPUT_NAME_DEBUG "${OpenBLAS_LIBNAME}_d")
foreach (OUTPUTCONFIG ${CMAKE_CONFIGURATION_TYPES})
string( TOUPPER ${OUTPUTCONFIG} OUTPUTCONFIG )