Skip to content

Commit 90ca131

Browse files
committed
upgraded to C++17
1 parent 1413148 commit 90ca131

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ add_library(xtensor-r INTERFACE)
5757
target_include_directories(xtensor-r INTERFACE $<BUILD_INTERFACE:${XTENSOR_R_INCLUDE_DIR}>
5858
$<INSTALL_INTERFACE:include>)
5959

60+
target_compile_features(xtensor INTERFACE cxx_std_17)
61+
6062
target_link_libraries(xtensor-r INTERFACE xtensor)
6163
get_target_property(inc_dir xtensor-r INTERFACE_INCLUDE_DIRECTORIES)
6264
message(STATUS "${inc_dir}")

0 commit comments

Comments
 (0)