Skip to content

Commit f7ee57b

Browse files
committed
Merge pull request #920 from lrineau/Installation-fix_issue_834-lrineau
In the construction of all_files.cpp, avoid qrc files
2 parents dee4739 + 588e51f commit f7ee57b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Installation/src/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ function (collect_cgal_library LIBRARY_NAME ADDITIONAL_FILES)
77
# THEN collect *.cpp
88
foreach (package ${CGAL_CONFIGURED_PACKAGES} )
99
file(GLOB CGAL_LIBRARY_SOURCE_FILES_TMP ${package}/src/${LIBRARY_NAME}/*.cpp)
10-
list(APPEND CGAL_LIBRARY_SOURCE_FILES ${CGAL_LIBRARY_SOURCE_FILES_TMP})
10+
foreach(file ${CGAL_LIBRARY_SOURCE_FILES_TMP})
11+
if(NOT ${file} MATCHES "/qrc_.*")
12+
list(APPEND CGAL_LIBRARY_SOURCE_FILES ${file})
13+
endif()
14+
endforeach()
1115
endforeach()
1216

1317
foreach(source ${CGAL_LIBRARY_SOURCE_FILES})

0 commit comments

Comments
 (0)