From: Isuru Fernando Date: Tue, 1 Aug 2017 10:17:14 +0000 (+0530) Subject: Fix lapacke copying X-Git-Tag: v0.3.0~105^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89ec2be11099b84c02e7dbd22f5bb10824601bfb;p=platform%2Fupstream%2Fopenblas.git Fix lapacke copying --- diff --git a/cmake/lapacke.cmake b/cmake/lapacke.cmake index f56a228..fd5aee1 100644 --- a/cmake/lapacke.cmake +++ b/cmake/lapacke.cmake @@ -2391,6 +2391,6 @@ foreach (Utils_FILE ${Utils_SRC}) endforeach () set(lapacke_include_dir "${NETLIB_LAPACK_DIR}/LAPACKE/include") -execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${lapacke_include_dir}/lapacke_mangling_with_flags.h.in" "${lapacke_include_dir}/lapacke_mangling.h") +configure_file("${lapacke_include_dir}/lapacke_mangling_with_flags.h.in" "${lapacke_include_dir}/lapacke_mangling.h" COPYONLY) include_directories(${lapacke_include_dir}) set_source_files_properties(${LAPACKE_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")