1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00

Disable "make install" for Debian based linux distributions.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
Lukasz Gromanowski 2012-09-10 23:03:11 +03:00
parent 6c03d7aec4
commit 3c2efbe966

View File

@ -630,8 +630,8 @@ if (APPLE)
include(CPack)
endif (APPLE)
if (NOT WIN32)
## Linux building
if (NOT WIN32 AND NOT DPKG_PROGRAM)
## Non Debian based Linux building
# paths
set(BINDIR "${CMAKE_INSTALL_PREFIX}/usr/bin" CACHE PATH "Where to install binaries")
set(DATAROOTDIR "${CMAKE_INSTALL_PREFIX}/share" CACHE PATH "Sets the root of data directories to a non-default location")