Check CMake documentation for passing configuration arguments - they are not environment variables like in your samples.
cmake -G "Unix Makefiles" -D USE_RAPIDJSON:BOOL="ON" /home/occt.git
Archived discussion
How do I get the build to include rapidjson?
I've managed to successfully build occt within a Ubuntu Docker container, but it doesn't include rapidjson.
rapidjson is installed via
apt-get install rapidjson-devand the files are available in /usr/include/rapidjson
I've tried setting the USE_RAPIDJSON environment variable
export USE_RAPIDJSON=ONbut when I look in CMakeCache.txt it has
USE_RAPIDJSON:BOOL=OFFI've also tried running cmake as below but with the same results
USE_RAPIDJSON=ON cmake /app/occtHow do I enable rapidjson for the build?
Discussion
Posts are displayed in their archived order.
Check CMake documentation for passing configuration arguments - they are not environment variables like in your samples.
cmake -G "Unix Makefiles" -D USE_RAPIDJSON:BOOL="ON" /home/occt.git
Thanks!