Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
cgal
CMake-3.3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CMake-3.3.patch of Package cgal
Index: CGAL-4.5.2/src/CMakeLists.txt =================================================================== --- CGAL-4.5.2.orig/src/CMakeLists.txt +++ CGAL-4.5.2/src/CMakeLists.txt @@ -117,8 +117,8 @@ set(CGAL_CONFIGURED_LIBRARIES "") foreach(package ${CGAL_CONFIGURED_PACKAGES}) file(GLOB CONFIGURED_LIBS_IN_PACKAGE ${package}/src/CGAL_*/CMakeLists.txt) foreach (libconfigfile ${CONFIGURED_LIBS_IN_PACKAGE}) - string(REPLACE "${package}/src/" "" libconfigfile ${libconfigfile}) - string(REPLACE "//CMakeLists.txt" "" CGAL_CONFIGURED_LIBRARY_NAME ${libconfigfile}) + get_filename_component(CGAL_CONFIGURED_LIBRARY_NAME ${libconfigfile} PATH) + get_filename_component(CGAL_CONFIGURED_LIBRARY_NAME ${CGAL_CONFIGURED_LIBRARY_NAME} NAME) if (NOT ${CGAL_CONFIGURED_LIBRARY_NAME} STREQUAL "CGAL") message(STATUS "Sources for CGAL component library '${CGAL_CONFIGURED_LIBRARY_NAME}' detected")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor