diff --git a/cmake/macros.cmake b/cmake/macros.cmake index 1fbccde4c..e88e668b6 100644 --- a/cmake/macros.cmake +++ b/cmake/macros.cmake @@ -28,7 +28,7 @@ ENDIF(NOT DEFINED IN_SOURCETREE) IF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) IF(WIN32) - SET(CMAKE_INSTALL_PREFIX "C:/Program files" CACHE PATH "Prefix prepended to install directories" FORCE) + SET(CMAKE_INSTALL_PREFIX "C:/Program files/speed-dreams-2" CACHE PATH "Prefix prepended to install directories" FORCE) ELSE() SET(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Prefix prepended to install directories" FORCE) ENDIF() @@ -76,10 +76,10 @@ IF(IN_SOURCETREE) SET(_DEFLIBDIR "lib64") ENDIF() IF(WIN32) - SET(SD_BINDIR speed-dreams-2/bin CACHE PATH "Place where the executables should go") - SET(SD_DATADIR speed-dreams-2/data CACHE PATH "Place where all the static data files should go") - SET(SD_LIBDIR speed-dreams-2/${_DEFLIBDIR} CACHE PATH "Place where the libraries should go") - SET(SD_INCLUDEDIR speed-dreams-2/include CACHE PATH "Place where the include files should go") + SET(SD_BINDIR bin CACHE PATH "Place where the executables should go") + SET(SD_DATADIR data CACHE PATH "Place where all the static data files should go") + SET(SD_LIBDIR ${_DEFLIBDIR} CACHE PATH "Place where the libraries should go") + SET(SD_INCLUDEDIR include CACHE PATH "Place where the include files should go") ELSE(WIN32) #UNIX SET(SD_BINDIR games CACHE PATH "Place where the executables should go") SET(SD_DATADIR share/games/speed-dreams-2 CACHE PATH "Place where all the static data files should go")