CMake: don't cmake in the source-directory (during development)
This commit is contained in:
parent
864dcdb2c2
commit
ec1b73be2b
@ -46,6 +46,9 @@ project( CALAMARES
|
||||
)
|
||||
|
||||
set( CALAMARES_VERSION_RC 1 ) # Set to 0 during release cycle, 1 during development
|
||||
if( CALAMARES_VERSION_RC EQUAL 1 AND CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR )
|
||||
message( FATAL_ERROR "Do not build development versions in the source-directory." )
|
||||
endif()
|
||||
|
||||
### OPTIONS
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user