diff --git a/cmake/external/libxsmm.cmake b/cmake/external/libxsmm.cmake index 2d6b53863837cd8f79cd5da7fb53089c5578b6f7..258dc2db779c830fbebdd488b07c4b12391d42e8 100644 --- a/cmake/external/libxsmm.cmake +++ b/cmake/external/libxsmm.cmake @@ -41,7 +41,7 @@ ExternalProject_Add( UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_IN_SOURCE 1 - BUILD_COMMAND $(MAKE) --silent PREFIX=${LIBXSMM_INSTALL_DIR} CC=gcc WARP=0 install + BUILD_COMMAND $(MAKE) --silent PREFIX=${LIBXSMM_INSTALL_DIR} CXX=g++ CC=gcc WARP=0 install INSTALL_COMMAND "" ) ADD_LIBRARY(libxsmm STATIC IMPORTED GLOBAL)