File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ project(solid_dmft VERSION 4.0.0 LANGUAGES CXX)
2828get_directory_property (IS_SUBPROJECT PARENT_DIRECTORY)
2929
3030# version displayed in the documentation
31- set (BRANCH_FOR_DOC ${ PROJECT_VERSION_MAJOR } . ${ PROJECT_VERSION_MINOR } .x )
31+ set (BRANCH_FOR_DOC unstable )
3232
3333# ############
3434# Load TRIQS
@@ -94,6 +94,9 @@ if(Build_Tests)
9494 endif ()
9595endif ()
9696
97+ # Build a Debian package
98+ option (BUILD_DEBIAN_PACKAGE "Build a deb package" OFF )
99+
97100# Provide GNU Installation directories
98101include (GNUInstallDirs )
99102
@@ -128,7 +131,6 @@ add_subdirectory(packaging)
128131# #############
129132# Debian Package
130133
131- option (BUILD_DEBIAN_PACKAGE "Build a deb package" OFF )
132134if (BUILD_DEBIAN_PACKAGE AND NOT IS_SUBPROJECT)
133135 if (NOT CMAKE_INSTALL_PREFIX STREQUAL "/usr" )
134136 message (FATAL_ERROR "CMAKE_INSTALL_PREFIX must be /usr for packaging" )
You can’t perform that action at this time.
0 commit comments