Skip to content

Commit

Permalink
- fixed cmake script for data package
Browse files Browse the repository at this point in the history
  • Loading branch information
softcoder committed Jan 22, 2014
1 parent e1c3d6e commit 28765fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ IF(NOT CMAKE_INSTALL_PREFIX STREQUAL "")
#MESSAGE(STATUS "Looking for [${PROJECT_SOURCE_DIR}/../glest_game/]")
MESSAGE(STATUS "**Data package INSTALL triggered.")

IF(NOT MEGAGLEST_DATA_INSTALL_PATH)
SET(MEGAGLEST_DATA_INSTALL_PATH "share/megaglest/" CACHE STRING "The installation path for data files (this is appended to the CMAKE_INSTALL_PREFIX)")
ENDIF()

# Check if we are running from a GIT folder structure or tarballs
#IF(EXISTS "${PROJECT_SOURCE_DIR}/../glest_game/")
# MESSAGE(STATUS "**Data package detected GIT folder structure.")
Expand Down

0 comments on commit 28765fb

Please sign in to comment.