Skip to content

Commit

Permalink
cad/opencascade: fix the build without VIS
Browse files Browse the repository at this point in the history
Always depend on print/freetype2 in order to fix the build without VIS.
Reported by:	leres@freebsd.org
  • Loading branch information
leres authored and thierry-FreeBSD committed Nov 12, 2021
1 parent e2b9720 commit 4e0ab0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cad/opencascade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \
-DINSTALL_DIR_SAMPLES=${OCCROOT}/samples \
-DINSTALL_DIR_TESTS=${OCCROOT}/tests \
-DINSTALL_TEST_CASES:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON \
-DUSE_TBB:BOOL=OFF \
-DUSE_RAPIDJSON:BOOL=ON \
-DUSE_VTK:BOOL=ON \
Expand Down Expand Up @@ -102,11 +103,9 @@ FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libgmp.so:math/gmp

VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON \
-DUSE_GLES2:BOOL=ON \
-D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF \
-DUSE_FREETYPE:BOOL=OFF \
-DUSE_GLES2:BOOL=OFF
VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \
libfreeimageplus.so:graphics/freeimage
Expand Down

0 comments on commit 4e0ab0c

Please sign in to comment.