Skip to content

Commit ced0b1a

Browse files
committed
Fixed errors in CMake files
1 parent 1842dc6 commit ced0b1a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cmake/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ ADD_LIBRARY(IfcGeom STATIC
8181
../src/ifcgeom/IfcRegister.cpp
8282
)
8383

84+
TARGET_LINK_LIBRARIES(IfcGeom IfcParse)
85+
8486
LINK_DIRECTORIES (${IfcOpenShell_BINARY_DIR} /usr/lib)
8587
ADD_EXECUTABLE(IfcObj ../src/ifcobj/IfcObj.cpp)
8688
TARGET_LINK_LIBRARIES (IfcObj IfcParse IfcGeom TKernel TKMath TKBRep TKGeomBase TKGeomAlgo TKG3d TKG2d TKShHealing TKTopAlgo TKMesh TKPrim TKBool TKBO TKFillet)

src/examples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ADD_EXECUTABLE(IfcParseExamples ../src/examples/IfcParseExamples.cpp)
1+
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
22
TARGET_LINK_LIBRARIES (IfcParseExamples IfcParse)

0 commit comments

Comments
 (0)