mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
examples - don't provide boost components explicitly
Since they're already included to `IfcParse`.
This commit is contained in:
@@ -45,8 +45,6 @@ if(SCHEMA_VERSIONS MATCHES "2x3")
|
|||||||
add_executable(IfcParseExamples IfcParseExamples.cpp)
|
add_executable(IfcParseExamples IfcParseExamples.cpp)
|
||||||
|
|
||||||
if(STANDALONE_PROJECT)
|
if(STANDALONE_PROJECT)
|
||||||
target_include_directories(IfcParseExamples PRIVATE ${Boost_INCLUDE_DIRS})
|
|
||||||
target_link_libraries(IfcParseExamples ${Boost_LIBRARIES})
|
|
||||||
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
|
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
|
||||||
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
|
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
|
||||||
else()
|
else()
|
||||||
@@ -69,7 +67,6 @@ if(SCHEMA_VERSIONS MATCHES "2x3")
|
|||||||
add_library(CGAL::CGAL_INTERFACE INTERFACE IMPORTED)
|
add_library(CGAL::CGAL_INTERFACE INTERFACE IMPORTED)
|
||||||
target_link_libraries(CGAL::CGAL_INTERFACE INTERFACE CGAL::CGAL)
|
target_link_libraries(CGAL::CGAL_INTERFACE INTERFACE CGAL::CGAL)
|
||||||
|
|
||||||
target_include_directories(IfcHouseInterface INTERFACE ${Boost_INCLUDE_DIRS})
|
|
||||||
target_link_libraries(IfcHouseInterface
|
target_link_libraries(IfcHouseInterface
|
||||||
INTERFACE ${OpenCASCADE_LIBRARIES} RocksDB::rocksdb
|
INTERFACE ${OpenCASCADE_LIBRARIES} RocksDB::rocksdb
|
||||||
IfcOpenShell::IfcParse IfcOpenShell::geometry_serializer
|
IfcOpenShell::IfcParse IfcOpenShell::geometry_serializer
|
||||||
@@ -92,7 +89,6 @@ if(SCHEMA_VERSIONS MATCHES "4x3_add2")
|
|||||||
add_library(IfcAlignmentInterface INTERFACE)
|
add_library(IfcAlignmentInterface INTERFACE)
|
||||||
|
|
||||||
if(STANDALONE_PROJECT)
|
if(STANDALONE_PROJECT)
|
||||||
target_include_directories(IfcAlignmentInterface INTERFACE ${Boost_INCLUDE_DIRS})
|
|
||||||
target_link_libraries(IfcAlignment PRIVATE IfcOpenShell::IfcParse)
|
target_link_libraries(IfcAlignment PRIVATE IfcOpenShell::IfcParse)
|
||||||
target_link_libraries(IfcSimplifiedAlignment PRIVATE IfcOpenShell::IfcParse)
|
target_link_libraries(IfcSimplifiedAlignment PRIVATE IfcOpenShell::IfcParse)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user