From deb6243ce546d9ef098bef26133a5ff3563f11b7 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 15 Dec 2025 18:21:59 +0500 Subject: [PATCH] cmake - use `INCLUDES DESTINATION` for includes paths export As it's more idiomatic. --- src/ifcparse/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcparse/CMakeLists.txt b/src/ifcparse/CMakeLists.txt index 5da3182406..e3bd50fb5b 100644 --- a/src/ifcparse/CMakeLists.txt +++ b/src/ifcparse/CMakeLists.txt @@ -32,7 +32,6 @@ set(IFCPARSE_FILES ${IFCPARSE_CPP_FILES} ${IFCPARSE_H_FILES}) add_library(IfcParse ${IFCPARSE_FILES}) target_compile_definitions(IfcParse PUBLIC ${SCHEMA_DEFINITIONS}) -target_include_directories(IfcParse PUBLIC $) set_target_properties(IfcParse PROPERTIES COMPILE_FLAGS -DIFC_PARSE_EXPORTS @@ -60,4 +59,5 @@ target_link_libraries(IfcParse ${ROCKSDB_LIBRARIES}) install(TARGETS IfcParse EXPORT ${IFCOPENSHELL_EXPORT_TARGETS} PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ifcparse" + INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" )