Skip to content

Commit

Permalink
Use ${def} instead of $def
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Oct 16, 2023
1 parent 027034b commit e502668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cmake/ConfigureChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ macro (H5ConversionTests TEST def msg)
endif ()
else ()
# Use the default if there's no cache variable and cross-compiling
if ($def)
if (${def})
message (VERBOSE "${msg}... yes (cross-compile default)")
set (${TEST} 1 CACHE INTERNAL ${msg})
else ()
Expand Down

0 comments on commit e502668

Please sign in to comment.