define SUPERTUXKART_DATADIR in CMake builds
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
51ac2fd051
commit
bab3705925
@ -681,6 +681,9 @@ if (APPLE)
|
||||
add_definitions(`ln -sf ${PROJECT_SOURCE_DIR}/data ${CMAKE_BINARY_DIR}/bin/supertuxkart.app/Contents/Resources`)
|
||||
|
||||
else()
|
||||
|
||||
add_definitions(-DSUPERTUXKART_DATADIR=${CMAKE_INSTALL_PREFIX}/share/games/supertuxkart)
|
||||
|
||||
# Build the final executable
|
||||
add_executable(supertuxkart ${SRCS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user