Skip to content

Commit 26503df

Browse files
committed
CGAL header-only define (for new version of CGAL)
1 parent 93bf74f commit 26503df

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cg3/cgal.pri

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ unix{
2222
}
2323

2424
LIBS += -lmpfr -lgmp -frounding-math
25-
!macx:LIBS += -lCGAL -lCGAL_Core -lboost_system -DBOOST_LOG_DYN_LINK -lboost_log -lboost_thread -lpthread
25+
!macx:LIBS += -lboost_system -DBOOST_LOG_DYN_LINK -lboost_log -lboost_thread -lpthread
26+
!contains(DEFINES, CGAL_HEADER_ONLY) {
27+
!macx:LIBS += -lCGAL -lCGAL_Core
28+
}
2629
}
2730

2831
win32{

0 commit comments

Comments
 (0)