diff --git a/cmake/module/CheckLinkerSupportsPIE.cmake b/cmake/module/CheckLinkerSupportsPIE.cmake index 6551033c1c9..f3897e56a9a 100644 --- a/cmake/module/CheckLinkerSupportsPIE.cmake +++ b/cmake/module/CheckLinkerSupportsPIE.cmake @@ -21,7 +21,7 @@ function(check_linker_supports_pie warnings) set(CMAKE_POSITION_INDEPENDENT_CODE ON PARENT_SCOPE) elseif(NOT WIN32) # The warning is superfluous for Windows. - message(WARNING "PIE is not supported at link time: ${output}") + message(WARNING "PIE is not supported at link time. See the configure log for details.") set(${warnings} ${${warnings}} "Position independent code disabled." PARENT_SCOPE) endif() endfunction()