Unverified Commit 61ebf897 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

expand comment about MinGW cross-compiler hack

parent 23509d07
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ if(PKG_KIM)
  option(DOWNLOAD_KIM "Download KIM-API from OpenKIM instead of using an already installed one" ${DOWNLOAD_KIM_DEFAULT})
  if(DOWNLOAD_KIM)
    message(STATUS "KIM-API download requested - we will build our own")
    # Workaround for cross compilation with MinGW, which messes up ${CMAKE_INSTALL_LIBDIR}
    # Workaround for cross compilation with MinGW where ${CMAKE_INSTALL_LIBDIR}
    # is a full path, so we need to remove the prefix
    string(REPLACE ${CMAKE_INSTALL_PREFIX} "" _KIM_LIBDIR ${CMAKE_INSTALL_LIBDIR})
    include(ExternalProject)
    enable_language(C)
+2 −1
Original line number Diff line number Diff line
@@ -9,7 +9,8 @@ if(PKG_LATTE)
  option(DOWNLOAD_LATTE "Download the LATTE library instead of using an already installed one" ${DOWNLOAD_LATTE_DEFAULT})
  if(DOWNLOAD_LATTE)
    message(STATUS "LATTE download requested - we will build our own")
    # Workaround for cross compilation with MinGW, which messes up ${CMAKE_INSTALL_LIBDIR}
    # Workaround for cross compilation with MinGW where ${CMAKE_INSTALL_LIBDIR}
    # is a full path, so we need to remove the prefix
    string(REPLACE ${CMAKE_INSTALL_PREFIX} "" _LATTE_LIBDIR ${CMAKE_INSTALL_LIBDIR})
    include(ExternalProject)
    ExternalProject_Add(latte_build