examples - don't provide cxx_std_17 to targets explicitly

As it's already defined for the entire project.
This commit is contained in:
Andrej730
2025-12-12 18:45:29 +05:00
parent 20812ecd80
commit b237fac4b8
-2
View File
@@ -46,12 +46,10 @@ if(SCHEMA_VERSIONS MATCHES "2x3")
if(STANDALONE_PROJECT)
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
else()
target_include_directories(IfcParseExamples PRIVATE "${CMAKE_SOURCE_DIR}/../src")
target_link_libraries(IfcParseExamples IfcParse)
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
endif()
install(TARGETS IfcParseExamples)