mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
cmake: fix PATHS syntax error closes #2632
This commit is contained in:
committed by
Thomas Krijnen
parent
e48a3a06c0
commit
f2097b9036
+7
-10
@@ -191,10 +191,9 @@ if(NOT MINIMAL_BUILD AND USD_SUPPORT)
|
|||||||
|
|
||||||
if("${USD_INCLUDE_DIR}" STREQUAL "")
|
if("${USD_INCLUDE_DIR}" STREQUAL "")
|
||||||
find_path(USD_INCLUDE_DIR pxr.h
|
find_path(USD_INCLUDE_DIR pxr.h
|
||||||
[PATHS
|
PATHS
|
||||||
/usr/include/pxr
|
/usr/include/pxr
|
||||||
/usr/local/include/pxr
|
/usr/local/include/pxr
|
||||||
]
|
|
||||||
REQUIRED
|
REQUIRED
|
||||||
)
|
)
|
||||||
if(USD_INCLUDE_DIR)
|
if(USD_INCLUDE_DIR)
|
||||||
@@ -355,11 +354,10 @@ if(BUILD_IFCGEOM)
|
|||||||
# Open CASCADE
|
# Open CASCADE
|
||||||
if("${OCC_INCLUDE_DIR}" STREQUAL "")
|
if("${OCC_INCLUDE_DIR}" STREQUAL "")
|
||||||
find_path(OCC_INCLUDE_DIR Standard_Version.hxx
|
find_path(OCC_INCLUDE_DIR Standard_Version.hxx
|
||||||
[PATHS
|
PATHS
|
||||||
/usr/include/occt
|
/usr/include/occt
|
||||||
/usr/include/oce
|
/usr/include/oce
|
||||||
/usr/include/opencascade
|
/usr/include/opencascade
|
||||||
]
|
|
||||||
REQUIRED
|
REQUIRED
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -383,9 +381,8 @@ if(BUILD_IFCGEOM)
|
|||||||
|
|
||||||
if("${OCC_LIBRARY_DIR}" STREQUAL "")
|
if("${OCC_LIBRARY_DIR}" STREQUAL "")
|
||||||
find_library(OCC_LIBRARY TKernel
|
find_library(OCC_LIBRARY TKernel
|
||||||
[PATHS
|
PATHS
|
||||||
/usr/lib
|
/usr/lib
|
||||||
]
|
|
||||||
REQUIRED
|
REQUIRED
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user