feat(CMakeLists.txt): include ninja in Windows binary distribution package
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
ea9a9d63d1
commit
1ee52a3ddc
1 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@ option(CROSS_COMPILE "CROSS_COMPILE" OFF)
|
||||||
# When ON we try to minimize the amount of memory needed to compile Lean using gcc.
|
# When ON we try to minimize the amount of memory needed to compile Lean using gcc.
|
||||||
# We use this flag when compiling at Travis.
|
# We use this flag when compiling at Travis.
|
||||||
option(CONSERVE_MEMORY "CONSERVE_MEMORY" OFF)
|
option(CONSERVE_MEMORY "CONSERVE_MEMORY" OFF)
|
||||||
# Include MSYS2 required DLLs in the binary distribution package
|
# Include MSYS2 required DLLs and binaries in the binary distribution package
|
||||||
option(INCLUDE_MSYS2_DLLS "INCLUDE_MSYS2_DLLS" OFF)
|
option(INCLUDE_MSYS2_DLLS "INCLUDE_MSYS2_DLLS" OFF)
|
||||||
|
|
||||||
# emacs site-lisp dir
|
# emacs site-lisp dir
|
||||||
|
@ -430,6 +430,7 @@ if("${INCLUDE_MSYS2_DLLS}" MATCHES "ON")
|
||||||
${MINGW_LOCAL_DIR}/libgmp-10.dll
|
${MINGW_LOCAL_DIR}/libgmp-10.dll
|
||||||
${MINGW_LOCAL_DIR}/libwinpthread-1.dll
|
${MINGW_LOCAL_DIR}/libwinpthread-1.dll
|
||||||
${MINGW_LOCAL_DIR}/libgcc_s_seh-1.dll
|
${MINGW_LOCAL_DIR}/libgcc_s_seh-1.dll
|
||||||
${MINGW_LOCAL_DIR}/libstdc++-6.dll)
|
${MINGW_LOCAL_DIR}/libstdc++-6.dll
|
||||||
|
${CMAKE_SOURCE_DIR}/../bin/ninja.exe)
|
||||||
install(PROGRAMS ${RUNTIME_LIBRARIES} DESTINATION bin)
|
install(PROGRAMS ${RUNTIME_LIBRARIES} DESTINATION bin)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue