Fix the name of libraries, on Windows

If CGAL_FULL_VERSION is not set in the cache, in the sub-directory src/ its value is empty. That creates wrong  library names, on Windows, such as:
  libCGAL_ImageIO-vc120-mt-.lib
This commit is contained in:
Andreas Fabri 2016-01-12 12:15:52 +01:00
parent 1ecccdc319
commit 1f0e8324a3
1 changed files with 1 additions and 1 deletions

View File

@ -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} PARENT_SCOPE) set(CGAL_FULL_VERSION ${CGAL_CREATED_VERSION} CACHE INTERNAL "CGAL version")
#define CGAL_VERSION_NR 1030500135 #define CGAL_VERSION_NR 1030500135