Skip to content

Commit 15cd7ce

Browse files
authored
Merge pull request #13 from loriab/patch-1
Update FindTargetLAPACK.cmake
2 parents 1c686aa + 2142664 commit 15cd7ce

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)