IfcParse - export include path

This commit is contained in:
Andrej730
2025-12-12 17:04:46 +05:00
parent 4d34e4296c
commit 01f97a5860
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -43,7 +43,6 @@ if(STANDALONE_PROJECT OR SCHEMA_VERSIONS MATCHES "2x3")
add_executable(IfcParseExamples IfcParseExamples.cpp)
if(STANDALONE_PROJECT)
target_include_directories(IfcParseExamples PRIVATE "${IfcOpenShell_DIR}/../../../include")
target_include_directories(IfcParseExamples PRIVATE ${Boost_INCLUDE_DIRS})
target_link_libraries(IfcParseExamples ${Boost_LIBRARIES})
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
@@ -69,7 +68,6 @@ if(STANDALONE_PROJECT OR SCHEMA_VERSIONS MATCHES "2x3")
add_library(CGAL::CGAL_INTERFACE INTERFACE IMPORTED)
target_link_libraries(CGAL::CGAL_INTERFACE INTERFACE CGAL::CGAL)
target_include_directories(IfcHouseInterface INTERFACE "${IfcOpenShell_DIR}/../../../include")
target_include_directories(IfcHouseInterface INTERFACE ${Boost_INCLUDE_DIRS})
target_link_libraries(IfcHouseInterface
INTERFACE ${OpenCASCADE_LIBRARIES} RocksDB::rocksdb
@@ -94,7 +92,6 @@ if(STANDALONE_PROJECT OR SCHEMA_VERSIONS MATCHES "4x3_add2")
add_library(IfcAlignmentInterface INTERFACE)
if(STANDALONE_PROJECT)
target_include_directories(IfcAlignmentInterface INTERFACE "${IfcOpenShell_DIR}/../../../include")
target_include_directories(IfcAlignmentInterface INTERFACE ${Boost_INCLUDE_DIRS})
target_compile_definitions(IfcAlignmentInterface INTERFACE HAS_SCHEMA_4x3_add2 IFOPSH_WITH_ROCKSDB)
target_link_libraries(IfcAlignment PRIVATE IfcOpenShell::IfcParse)
+1
View File
@@ -31,6 +31,7 @@ endforeach()
set(IFCPARSE_FILES ${IFCPARSE_CPP_FILES} ${IFCPARSE_H_FILES})
add_library(IfcParse ${IFCPARSE_FILES})
target_include_directories(IfcParse PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
set_target_properties(IfcParse
PROPERTIES
COMPILE_FLAGS -DIFC_PARSE_EXPORTS