From 11f8ab3f63ecaebe817f3251063cd37be9864461 Mon Sep 17 00:00:00 2001 From: Cody Balos Date: Thu, 9 May 2024 15:14:42 -0700 Subject: [PATCH] update missed cmake template --- examples/templates/cmakelists_parallel_F2003_ex.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/templates/cmakelists_parallel_F2003_ex.in b/examples/templates/cmakelists_parallel_F2003_ex.in index 1d5670752f..71e11bfe31 100644 --- a/examples/templates/cmakelists_parallel_F2003_ex.in +++ b/examples/templates/cmakelists_parallel_F2003_ex.in @@ -106,6 +106,8 @@ foreach(example ${examples}) # libraries to link against target_link_libraries(${example} ${LIBRARIES}) + target_compile_definitions(${example} PRIVATE SUNDIALS_INT@SUNDIALS_INDEX_SIZE@_T) + # add the example to ctest add_test(NAME ${example} COMMAND ${example})