# SET(OCC_VERSION_MAJOR 6)
# SET(OCC_VERSION_MINOR 3)
# SET(OCC_VERSION_MAINTENANCE 10)
+SET(OCC_VERSION_DEVELOPMENT 0)
+
+FIND_FILE(ff Standard_Version.hxx ${CASROOT}/include/opencascade ${CASROOT}/inc)
+IF(ff)
+ FILE(STRINGS ${ff} OCC_VERSION_DEVELOPMENT_STR
+ REGEX "^ *#define OCC_VERSION_DEVELOPMENT.*$")
+ IF(OCC_VERSION_DEVELOPMENT_STR)
+ SET(OCC_VERSION_DEVELOPMENT 1)
+ ENDIF(OCC_VERSION_DEVELOPMENT_STR)
+ENDIF(ff)
SET(CAS_CPPFLAGS)
# SET(CAS_CPPFLAGS ${CAS_CPPFLAGS} -DOCC_VERSION_MAJOR=${OCC_VERSION_MAJOR})