From caf4ee419e6db8013f8662824dd830940de2b23b Mon Sep 17 00:00:00 2001 From: Jacob Jensen Date: Mon, 14 Jul 2014 15:34:18 +0200 Subject: [PATCH] Build process now creates creation directory structure to avoid crashes. It will need extending as stages of the game are added. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d8441dc3e3..f8434efcfcb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -435,6 +435,11 @@ install(DIRECTORY PATTERN "*.xml" ) +# Create directory tree that thrive requires +file(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin/creations) +file(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin/creations/microbe) +file(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin/creations/multicellular) + # Install Runtime Libraries if(WIN32)