Skip to content

Commit f2097b9

Browse files
dirkolbrichaothms
authored andcommitted
cmake: fix PATHS syntax error closes IfcOpenShell#2632
1 parent e48a3a0 commit f2097b9

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

cmake/CMakeLists.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,9 @@ if(NOT MINIMAL_BUILD AND USD_SUPPORT)
191191

192192
if("${USD_INCLUDE_DIR}" STREQUAL "")
193193
find_path(USD_INCLUDE_DIR pxr.h
194-
[PATHS
194+
PATHS
195195
/usr/include/pxr
196196
/usr/local/include/pxr
197-
]
198197
REQUIRED
199198
)
200199
if(USD_INCLUDE_DIR)
@@ -355,11 +354,10 @@ if(BUILD_IFCGEOM)
355354
# Open CASCADE
356355
if("${OCC_INCLUDE_DIR}" STREQUAL "")
357356
find_path(OCC_INCLUDE_DIR Standard_Version.hxx
358-
[PATHS
359-
/usr/include/occt
360-
/usr/include/oce
361-
/usr/include/opencascade
362-
]
357+
PATHS
358+
/usr/include/occt
359+
/usr/include/oce
360+
/usr/include/opencascade
363361
REQUIRED
364362
)
365363

@@ -383,9 +381,8 @@ if(BUILD_IFCGEOM)
383381

384382
if("${OCC_LIBRARY_DIR}" STREQUAL "")
385383
find_library(OCC_LIBRARY TKernel
386-
[PATHS
387-
/usr/lib
388-
]
384+
PATHS
385+
/usr/lib
389386
REQUIRED
390387
)
391388

0 commit comments

Comments
 (0)