From ea1095135ebf60350cd8a60f35c299c1b100a224 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 29 Jul 2017 21:00:32 +0530 Subject: [PATCH] Ninja complains that file openblas.def does not exist --- cmake/export.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/export.cmake b/cmake/export.cmake index 629f8fb..a9d1fc4 100644 --- a/cmake/export.cmake +++ b/cmake/export.cmake @@ -51,7 +51,8 @@ else() endif() add_custom_command( - TARGET ${OpenBLAS_LIBNAME} PRE_LINK + OUTPUT ${PROJECT_BINARY_DIR}/openblas.def + #TARGET ${OpenBLAS_LIBNAME} PRE_LINK COMMAND perl ARGS "${PROJECT_SOURCE_DIR}/exports/gensymbol" "win2k" "${ARCH_IN}" "dummy" "${EXPRECISION_IN}" "${NO_CBLAS_IN}" "${NO_LAPACK_IN}" "${NO_LAPACKE_IN}" "${NEED2UNDERSCORES_IN}" "${ONLY_CBLAS_IN}" "${SYMBOLPREFIX}" "${SYMBOLSUFFIX}" > "${PROJECT_BINARY_DIR}/openblas.def" COMMENT "Create openblas.def file" -- 2.7.4