diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-04-03 01:02:32 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-04-03 01:03:31 +0300 |
commit | b131a0cf0c65ade3b8160353a2b71cea13268062 (patch) | |
tree | c7f4262c8ad7b3edde186628715f3f28a891c4b8 | |
parent | d7cef8d762b4b8727143761ed99ea4917c68774c (diff) | |
download | minetest-b131a0cf0c65ade3b8160353a2b71cea13268062.tar.gz minetest-b131a0cf0c65ade3b8160353a2b71cea13268062.tar.bz2 minetest-b131a0cf0c65ade3b8160353a2b71cea13268062.zip |
Add optional MINGWM10_DLL to cmake install
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 261c8eeca..eb1d19cb5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -106,6 +106,8 @@ if(WIN32) CACHE FILEPATH "Path to zlibwapi.dll (for installation)") set(IRRLICHT_SOURCE_DIR "${PROJECT_SOURCE_DIR}/../../irrlicht-1.7.2" CACHE PATH "irrlicht dir") + set(MINGWM10_DLL "" + CACHE FILEPATH "Path to mingwm10.dll (for installation)") if(ENABLE_SOUND) set(OPENAL_DLL "" CACHE FILEPATH "Path to OpenAL32.dll for installation (optional)") set(OGG_DLL "" CACHE FILEPATH "Path to libogg.dll for installation (optional)") @@ -384,6 +386,9 @@ endif() # Installation # if(WIN32) + if(MIGWM10_DLL) + install(FILES ${MINGWM10_DLL} DESTINATION ${BINDIR}) + endif() if(DEFINED ZLIB_DLL) install(FILES ${ZLIB_DLL} DESTINATION ${BINDIR}) endif() |