Open cascade with Draco on ubuntu. (Linux)

Hello everyone,
I am trying to install open cascade with Draco enable option.
I have already install Draco on my machine. (using : sudo apt install Draco)
When I tried to build without Draco. it will build properly.
but when I install using Draco Boolean as ON then it is failing .
I am getting issue :
Could not find headers of used third-party products: 3RDPARTY_DRACO_INCLUDE_DIR

Dmitrii Pasukhin's picture

In that case please put your own path to DRACO include folder.

Best regard, Dmitrii.

rahulmulik9's picture

Do I have to make changes in CMakeList file?
if not , in which file I have to make changes?

Dmitrii Pasukhin's picture

No, It should be as a CMake argument. or GUI.

Example:

-D3RDPARTY_DRACO_INCLUDE_DIR="'\usr\include"

Best regards, Dmitrii.

rahulmulik9's picture

Thank you Dmitrii.
It works, and we were able to install Open Cascade with Draco enabled.
Is there a way to cross-verify this?

Dmitrii Pasukhin's picture

We currently trying to fix that issue during reorganizing CMake as a part of 7.9. 

You be able to patch occt with updating /adm/CMake/draco.cmake file. Probably it is a internal bug. I will take that in mind during reorganizing.

Best regards, Dmitrii.

rahulmulik9's picture

Okay. Thank you Dmitrii.