From 2273ffd77061a1deabf82d1586ff40320c855717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ars=C3=A8ne=20P=C3=A9rard-Gayot?= Date: Mon, 20 May 2024 15:51:39 +0200 Subject: [PATCH] Set C standard to 11 for `timespec_get` --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a9cabf3..61c5822 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -26,7 +26,7 @@ add_test( if (BVH_BUILD_C_API) add_executable(c_api_example c_api_example.c load_obj.cpp) target_link_libraries(c_api_example PUBLIC bvh_c) - set_target_properties(c_api_example PROPERTIES CXX_STANDARD 20 C_STANDARD 99) + set_target_properties(c_api_example PROPERTIES CXX_STANDARD 20 C_STANDARD 11) add_test( NAME c_api_example