Skip to content

Commit 02e69a9

Browse files
committed
Fixed wrong reference to oce version in CMakeList
1 parent 243fb7c commit 02e69a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ if(DEFINED OCE_INCLUDE_PATH)
116116
# find OCE automatically
117117
else(OCE_INCLUDE_PATH)
118118
find_package(OCE 0.18 REQUIRED)
119-
set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DOCC_VERSION_HEX=0x060901) # oce0.17.2
119+
# OCE 0.18 relies on OCC 6.9.1
120+
set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} -DOCC_VERSION_HEX=0x060901)
120121
if(OCE_FOUND)
121122
message(STATUS "OpenCASCADE Community Edition (OCE) found.")
122123
include_directories(${OCE_INCLUDE_DIRS})

0 commit comments

Comments
 (0)