From cdf5c0d0fe9588d9224969f97db16f53a2abd2de Mon Sep 17 00:00:00 2001 From: Sebastian Grimberg Date: Fri, 24 May 2024 15:41:51 -0700 Subject: [PATCH] Fix incorrect syntax for CMake installation of LIBXSMM --- cmake/ExternalLIBXSMM.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ExternalLIBXSMM.cmake b/cmake/ExternalLIBXSMM.cmake index b921a6972..dbcefeba9 100644 --- a/cmake/ExternalLIBXSMM.cmake +++ b/cmake/ExternalLIBXSMM.cmake @@ -92,8 +92,8 @@ ExternalProject_Add(libxsmm ${CMAKE_COMMAND} -E copy ${LIBXSMM_INSTALL_HEADERS} ${CMAKE_INSTALL_PREFIX}/include && ${CMAKE_COMMAND} -E echo "LIBXSMM installing pkg-config and module files..." && ${CMAKE_COMMAND} -E make_directory ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig && - (${CMAKE_COMMAND} -E copy ${LIBXSMM_INSTALL_PKGCONFIG} ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig - || ${CMAKE_COMMAND} -E true) && # No error if files don't exist + ${CMAKE_COMMAND} -E copy ${LIBXSMM_INSTALL_PKGCONFIG} ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig || + ${CMAKE_COMMAND} -E true && # No error if files don't exist ${CMAKE_COMMAND} -E rm -f ${LIBXSMM_INSTALL_PKGCONFIG} && ${CMAKE_COMMAND} -E rm -f ${CMAKE_INSTALL_PREFIX}/lib/.make TEST_COMMAND ""