Skip to content

Commit

Permalink
Fix handling of standard for demo library
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Mar 19, 2024
1 parent 4e774d4 commit c73d5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sample_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(sample_library PRIVATE myproject_options myproject_warning
target_include_directories(sample_library ${WARNING_GUARD} PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>)

target_compile_features(sample_library PUBLIC cxx_std_20)
target_compile_features(sample_library PUBLIC cxx_std_${CMAKE_CXX_STANDARD})

set_target_properties(
sample_library
Expand Down

0 comments on commit c73d5fe

Please sign in to comment.