Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
bb735025
Commit
bb735025
authored
Jan 31, 2019
by
Brad King
Browse files
Find{BLAS,LAPACK}: Drop unnecessary mark_as_advanced calls
Cache entries created by `try_compile` are already `INTERNAL`.
parent
de7eb1a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Modules/FindBLAS.cmake
View file @
bb735025
...
...
@@ -167,7 +167,6 @@ macro(Check_Fortran_Libraries LIBRARIES _prefix _name _flags _list _thread)
check_function_exists
(
"
${
_name
}
_"
${
_prefix
}${
_combined_name
}
_WORKS
)
endif
()
set
(
CMAKE_REQUIRED_LIBRARIES
)
mark_as_advanced
(
${
_prefix
}${
_combined_name
}
_WORKS
)
set
(
_libraries_work
${${
_prefix
}${
_combined_name
}
_WORKS
}
)
endif
()
if
(
_libraries_work
)
...
...
Modules/FindLAPACK.cmake
View file @
bb735025
...
...
@@ -142,7 +142,6 @@ if(_libraries_work)
check_fortran_function_exists
(
${
_name
}
${
_prefix
}${
_combined_name
}
_WORKS
)
endif
()
set
(
CMAKE_REQUIRED_LIBRARIES
)
mark_as_advanced
(
${
_prefix
}${
_combined_name
}
_WORKS
)
set
(
_libraries_work
${${
_prefix
}${
_combined_name
}
_WORKS
}
)
#message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}")
endif
()
...
...
Brad King
@brad.king
mentioned in commit
591899bc
·
Jan 31, 2019
mentioned in commit
591899bc
mentioned in commit 591899bc9643881610f665ac2e8787774a6b78b0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment