Skip to content

Commit

Permalink
embag: bump min c++ std to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin committed May 15, 2023
1 parent fbe3fff commit 0145ba2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recipes/embag/all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set_target_properties(embag PROPERTIES
# embag does not export any symbols otherwise
WINDOWS_EXPORT_ALL_SYMBOLS ON
)
target_compile_features(embag PUBLIC cxx_std_11)
target_compile_features(embag PUBLIC cxx_std_14)
target_link_libraries(embag PUBLIC
Boost::iostreams
Boost::headers
Expand Down
2 changes: 1 addition & 1 deletion recipes/embag/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class EmbagConan(ConanFile):

@property
def _min_cppstd(self):
return 11
return 14

def export_sources(self):
copy(
Expand Down
2 changes: 1 addition & 1 deletion recipes/embag/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ find_package(embag REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE embag::embag)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14)

0 comments on commit 0145ba2

Please sign in to comment.