From 1f0e8324a3a4a2c5d9cafd4f9c1d77c7bf8ea68c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 12 Jan 2016 12:15:52 +0100 Subject: [PATCH] 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 --- Installation/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index 4b9847fd0b5..024a2902bca 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -145,7 +145,7 @@ if ( CGAL_BRANCH_BUILD ) file(WRITE "${CMAKE_BINARY_DIR}/VERSION" "${CGAL_CREATED_VERSION_NUM}") 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