Skip to content

Commit

Permalink
AI: CMake: fix AI_DATADIR absolutification
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Sep 23, 2009
1 parent 0a99255 commit 914c112
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions AI/CMakeLists.txt
Expand Up @@ -21,11 +21,7 @@ set (AI_EXCLUDE_REGEX "XXXXXXXX" CACHE STRING "Which Skirmish AIs not to build (
set (AI_FIND_QUIETLY FALSE CACHE BOOL "Whether to find AI Interfaces and Skirmish AIs quietly")

if (NOT IS_ABSOLUTE "${AI_DATADIR}")
if (NOT MINGW AND SPRING_DATADIR)
set(AI_DATADIR "${AI_DATADIR_INTERNAL}${CMAKE_INSTALL_PREFIX}/${AI_DATADIR}")
else (NOT MINGW AND SPRING_DATADIR)
set(AI_DATADIR "${CMAKE_INSTALL_PREFIX}/${AI_DATADIR}")
endif (NOT MINGW AND SPRING_DATADIR)
set(AI_DATADIR "${CMAKE_INSTALL_PREFIX}/${AI_DATADIR}")
endif (NOT IS_ABSOLUTE "${AI_DATADIR}")

set(rts "${CMAKE_SOURCE_DIR}/rts")
Expand Down

0 comments on commit 914c112

Please sign in to comment.