forked from oerkki/voxelands
changes needed to build out-of-source and create the .deb and .rpm packages
This commit is contained in:
parent
161b1e8dc9
commit
66fade0744
|
@ -1,3 +1,7 @@
|
||||||
|
build
|
||||||
|
build32
|
||||||
|
build64
|
||||||
|
|
||||||
bin/
|
bin/
|
||||||
*.a
|
*.a
|
||||||
|
|
||||||
|
|
|
@ -147,6 +147,11 @@ else()
|
||||||
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-linux")
|
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${VERSION_STRING}-linux")
|
||||||
set(CPACK_GENERATOR TGZ)
|
set(CPACK_GENERATOR TGZ)
|
||||||
set(CPACK_SOURCE_GENERATOR TGZ)
|
set(CPACK_SOURCE_GENERATOR TGZ)
|
||||||
|
SET ( CPACK_DEBIAN_PACKAGE_SECTION "other" )
|
||||||
|
SET ( CPACK_DEBIAN_PACKAGE_PRIORITY "optional" )
|
||||||
|
SET ( CPACK_DEBIAN_PACKAGE_MAINTAINER "Stéphane Charette <stephanecharette@gmail.com>" )
|
||||||
|
SET ( CPACK_GENERATOR "DEB;RPM" )
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|
|
@ -268,6 +268,7 @@ set(voxelandsserver_SRCS
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}/src/jthread
|
||||||
${PROJECT_BINARY_DIR}
|
${PROJECT_BINARY_DIR}
|
||||||
${IRRLICHT_INCLUDE_DIR}
|
${IRRLICHT_INCLUDE_DIR}
|
||||||
${ZLIB_INCLUDE_DIR}
|
${ZLIB_INCLUDE_DIR}
|
||||||
|
|
Loading…
Reference in New Issue