diff --git a/cmake/tpl/SundialsLapack.cmake b/cmake/tpl/SundialsLapack.cmake index 791ff1be1d..aa203faee3 100644 --- a/cmake/tpl/SundialsLapack.cmake +++ b/cmake/tpl/SundialsLapack.cmake @@ -322,11 +322,11 @@ if(NOT LAPACK_WORKS) # Attempt to build and link the test executable, pass --debug-trycompile to # the cmake command to save build files for debugging - if (CMAKE_VERSION VERSION_LESS 3.20) + if(CMAKE_VERSION VERSION_LESS 3.20) # Workaround bug in older versions of CMake where the BLAS::BLAS target, # which LAPACK::LAPACK depends on, is not defined in the file - # ${LAPACK_TEST_DIR}/CMakeFiles/CMakeTmp/Targets.cmake - # created by try_compile + # ${LAPACK_TEST_DIR}/CMakeFiles/CMakeTmp/Targets.cmake created + # by try_compile try_compile( COMPILE_OK ${LAPACK_TEST_DIR} ${LAPACK_TEST_DIR}/test.c