Skip to content

Commit 2142664

Browse files
authored
Update FindTargetLAPACK.cmake
1 parent 6c0289d commit 2142664

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/FindTargetLAPACK.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if (LAPACK_LIBRARIES)
3333
set_property (TARGET tgt::lapack PROPERTY INTERFACE_LINK_LIBRARIES ${LAPACK_LIBRARIES})
3434
else()
3535
# 2nd precedence - target already prepared and findable in TargetLAPACKConfig.cmake
36-
if (NOT "${CMAKE_DISABLE_FIND_PACKAGE_${PN}}")
36+
if (NOT "${DISABLE_FIND_PACKAGE_${PN}}")
3737
find_package (TargetLAPACK QUIET CONFIG)
3838
endif()
3939
if (TARGET tgt::lapack)

0 commit comments

Comments
 (0)