File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 .0)
1+ cmake_minimum_required (VERSION 3.50 .0)
22
33set (CMAKE_CXX_STANDARD 17)
44set (CMAKE_CXX_STANDARD_REQUIRED ON )
@@ -154,7 +154,11 @@ if(CAD_FEATURES)
154154 endforeach (name )
155155 endif ()
156156
157+ if (USE_NEW_OCC)
158+ set (OCCT_LIB_NAMES TKernel TKGeomBase TKTopAlgo TKPrim TKMesh TKMath TKBRep TKDESTL TKFillet TKBO TKDEIGES TKDESTEP TKXSBase TKG3d TKLCAF TKVCAF)
159+ else ()
157160 set (OCCT_LIB_NAMES TKernel TKGeomBase TKTopAlgo TKPrim TKMesh TKMath TKBRep TKSTL TKFillet TKBO TKIGES TKSTEP TKSTEPBase TKXSBase TKG3d TKLCAF TKVCAF)
161+ endif ()
158162 foreach (name IN LISTS OCCT_LIB_NAMES)
159163 findLib(OCCT_LIB_DIR OCCT_LIB ${name} )
160164 list (APPEND OCCT_LIBS ${OCCT_LIB} )
@@ -503,6 +507,7 @@ if(UNIX)
503507 else ()
504508 target_link_libraries (${FBS_BIN_NAME} ${OpenMP_C_LIBRARIES} )
505509 target_include_directories (RTLib PRIVATE ${OpenMP_C_INCLUDE_DIRS} ${OMP_INC} )
510+ target_include_directories (GLLib PRIVATE ${OpenMP_C_INCLUDE_DIRS} ${OMP_INC} )
506511 endif ()
507512endif ()
508513
You can’t perform that action at this time.
0 commit comments