mirror of https://github.com/CGAL/cgal
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:
parent
1ecccdc319
commit
1f0e8324a3
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue