Tried to fix install directory problem on linux... Let's hope this doesn't blow it all.
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