mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Tried to fix install directory problem on linux... Let's hope this doesn't blow it all.
This commit is contained in:
parent
3ef2629e84
commit
affa8f80ad
@ -46,13 +46,14 @@ if(WIN32)
|
||||
set(BINDIR "bin")
|
||||
set(DOCDIR "doc")
|
||||
elseif(APPLE)
|
||||
# random placeholders
|
||||
set(DATADIR "share/minetest")
|
||||
set(BINDIR "bin")
|
||||
set(DOCDIR "share/doc/minetest")
|
||||
elseif(UNIX)
|
||||
set(DATADIR "share/minetest")
|
||||
set(BINDIR "bin")
|
||||
set(DOCDIR "share/doc/minetest")
|
||||
set(DATADIR "/usr/share/minetest")
|
||||
set(BINDIR "/usr/bin")
|
||||
set(DOCDIR "/usr/share/doc/minetest")
|
||||
endif()
|
||||
|
||||
install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")
|
||||
|
Loading…
Reference in New Issue
Block a user