mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 21:38:51 +00:00
examples - don't provide cxx_std_17 to targets explicitly
As it's already defined for the entire project.
This commit is contained in:
@@ -46,12 +46,10 @@ if(SCHEMA_VERSIONS MATCHES "2x3")
|
|||||||
|
|
||||||
if(STANDALONE_PROJECT)
|
if(STANDALONE_PROJECT)
|
||||||
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
|
target_link_libraries(IfcParseExamples IfcOpenShell::IfcParse)
|
||||||
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
|
|
||||||
else()
|
else()
|
||||||
target_include_directories(IfcParseExamples PRIVATE "${CMAKE_SOURCE_DIR}/../src")
|
target_include_directories(IfcParseExamples PRIVATE "${CMAKE_SOURCE_DIR}/../src")
|
||||||
target_link_libraries(IfcParseExamples IfcParse)
|
target_link_libraries(IfcParseExamples IfcParse)
|
||||||
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
|
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
|
||||||
target_compile_features(IfcParseExamples PRIVATE cxx_std_17)
|
|
||||||
endif()
|
endif()
|
||||||
install(TARGETS IfcParseExamples)
|
install(TARGETS IfcParseExamples)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user