mirror of https://github.com/CGAL/cgal
Move CGAL_FULL_VERSION to PARENT_SCOPE
This variable is more sensible to be used in documentation. The corresponding set in non branch-build does not require a PARENT_SCOPE, because it has no parent in the release layout.
This commit is contained in:
parent
def72347c9
commit
5349ee4dfc
|
|
@ -145,7 +145,7 @@ if ( CGAL_BRANCH_BUILD )
|
||||||
file(WRITE "${CMAKE_BINARY_DIR}/VERSION" "${CGAL_CREATED_VERSION_NUM}")
|
file(WRITE "${CMAKE_BINARY_DIR}/VERSION" "${CGAL_CREATED_VERSION_NUM}")
|
||||||
|
|
||||||
message(STATUS "CGAL_VERSION is ${CGAL_CREATED_VERSION}")
|
message(STATUS "CGAL_VERSION is ${CGAL_CREATED_VERSION}")
|
||||||
set(CGAL_FULL_VERSION ${CGAL_CREATED_VERSION})
|
set(CGAL_FULL_VERSION ${CGAL_CREATED_VERSION} PARENT_SCOPE)
|
||||||
|
|
||||||
|
|
||||||
#define CGAL_VERSION_NR 1030500135
|
#define CGAL_VERSION_NR 1030500135
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue