Skip to content

Commit

Permalink
rapids-cmake tests properly state what C++ std levels they require (#46)
Browse files Browse the repository at this point in the history
Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers: None

URL: #46
  • Loading branch information
robertmaynard authored Jul 22, 2021
1 parent c45126a commit b78bedf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions testing/cmake/write_version-absolute/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ rapids_cmake_write_version_file("${CMAKE_CURRENT_BINARY_DIR}/nested/version.h")
enable_language(CXX)
add_executable(write_version main.cpp)
target_include_directories(write_version PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_features(write_version PRIVATE cxx_std_14)
1 change: 1 addition & 0 deletions testing/cmake/write_version-leading-zeroes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ rapids_cmake_write_version_file(version.h)
enable_language(CXX)
add_executable(write_version main.cpp)
target_include_directories(write_version PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_features(write_version PRIVATE cxx_std_14)
1 change: 1 addition & 0 deletions testing/cmake/write_version-relative/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ rapids_cmake_write_version_file(nested_version.hpp)
enable_language(CXX)
add_executable(write_version main.cpp)
target_include_directories(write_version PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
target_compile_features(write_version PRIVATE cxx_std_14)

0 comments on commit b78bedf

Please sign in to comment.