This repository was archived by the owner on Mar 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ Project (meandmyshadow)
22CMake_Minimum_Required (VERSION 3.1)
33Set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR} /cmake/Modules/" )
44
5+ #Path options
6+ Set (BINDIR "bin" CACHE STRING "Where to install binaries" )
7+ Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX} /share" CACHE STRING "Sets the root of data directories to a non-default location" )
8+ Set (ICONDIR "${DATAROOTDIR} /icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location." )
9+ Set (DESKTOPDIR "${DATAROOTDIR} /applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location." )
10+
11+ #Options
512Option (DEBUG_MODE "Compile the game with debug mode enabled" OFF )
613Option (DISABLED_DEBUG_STUFF "Enable this you'll see a lot of annoying script debug messages which will lag the game." OFF )
714
@@ -164,12 +171,6 @@ Target_Link_Libraries (
164171 ${LUA_LIBRARIES}
165172)
166173
167- #Path options
168- Set (BINDIR "bin" CACHE STRING "Where to install binaries" )
169- Set (DATAROOTDIR "${CMAKE_INSTALL_PREFIX} /share" CACHE STRING "Sets the root of data directories to a non-default location" )
170- Set (ICONDIR "${DATAROOTDIR} /icons" CACHE STRING "Sets the icon directory for desktop entry to a non-default location." )
171- Set (DESKTOPDIR "${DATAROOTDIR} /applications" CACHE STRING "Sets the desktop file directory for desktop entry to a non-default location." )
172-
173174#Install locations
174175Install (DIRECTORY ${PROJECT_SOURCE_DIR} /data DESTINATION ${DATAROOTDIR} /meandmyshadow/)
175176Install (FILES AUTHORS DESTINATION ${DATAROOTDIR} /meandmyshadow/)
You can’t perform that action at this time.
0 commit comments