File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,26 @@ install:
3030 - sudo apt-get install -y liboce-visualization-dev
3131 - sudo apt-get install -y liboce-ocaf-lite-dev
3232
33+ - sudo apt-get install -y libpcre3-dev
3334
3435script :
36+ - pwd
37+ - cd ..
38+ - git clone https://github.com/KhronosGroup/OpenCOLLADA.git
39+ - cd OpenCOLLADA
40+ - git checkout 064a60b65c2c31b94f013820856bc84fb1937cc6
41+ - mkdir build
42+ - cd build
43+ - cmake ..
44+ - make
45+ - sudo make install
46+ - cd ..
47+ - cd ..
48+ - pwd
49+ - cd IfcOpenShell
50+ - pwd
3551 - cd cmake
3652 - mkdir build
3753 - cd build
38- - cmake -DCOLLADA_SUPPORT=False -DUSE_IFC4=False -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu ..
54+ - cmake -DCOLLADA_SUPPORT=True -DOPENCOLLADA_INCLUDE_DIR=/usr/local/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/usr/local/lib/opencollada -DPCRE_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUSE_IFC4=False -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu ..
3955 - make -j2
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ IF(COLLADA_SUPPORT)
260260 find_library (pcre_library NAMES pcre PATHS ${PCRE_LIBRARY_DIR} NO_DEFAULT_PATH )
261261 endif ()
262262
263- if (${ pcre_library} )
263+ if (pcre_library)
264264 SET (OPENCOLLADA_LIBRARY_DIR ${OPENCOLLADA_LIBRARY_DIR} ${PCRE_LIBRARY_DIR} )
265265 list (APPEND OPENCOLLADA_LIBRARIES "${pcre_library} " )
266266 endif ()
You can’t perform that action at this time.
0 commit comments