Skip to content

Commit

Permalink
apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gardner48 committed Jul 18, 2024
1 parent 7e982f3 commit 1b3bcf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/tpl/SundialsLapack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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/<random_name>Targets.cmake
# created by try_compile
# ${LAPACK_TEST_DIR}/CMakeFiles/CMakeTmp/<random_name>Targets.cmake created
# by try_compile
try_compile(
COMPILE_OK ${LAPACK_TEST_DIR}
${LAPACK_TEST_DIR}/test.c
Expand Down

0 comments on commit 1b3bcf2

Please sign in to comment.