Skip to content

Commit

Permalink
Set C standard to 11 for timespec_get
Browse files Browse the repository at this point in the history
  • Loading branch information
madmann91 committed May 20, 2024
1 parent 235b400 commit 2273ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2273ffd

Please sign in to comment.