From d261aae6a9c93ff147b82f250fe47ab7e2e88135 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 18 Feb 2020 11:09:43 +0100 Subject: cmake: Fix warning about missing scope for --quiet Remove scope, fixing: Cannot set "CMAKE_INSTALL_MESSAGE": current scope has no parent. CMake Error at data/shiboken_helpers.cmake:218 (_message): Change-Id: I7499eef3af499e1d02b548b19fca3dda7647b16e Reviewed-by: Alexandru Croitor --- sources/shiboken2/data/shiboken_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources') diff --git a/sources/shiboken2/data/shiboken_helpers.cmake b/sources/shiboken2/data/shiboken_helpers.cmake index ee6c6c4d5..6bd75d0ea 100644 --- a/sources/shiboken2/data/shiboken_helpers.cmake +++ b/sources/shiboken2/data/shiboken_helpers.cmake @@ -206,7 +206,7 @@ endmacro() macro(set_quiet_build) # Don't display "up-to-date / install" messages when installing, to reduce visual clutter. - set(CMAKE_INSTALL_MESSAGE NEVER PARENT_SCOPE) + set(CMAKE_INSTALL_MESSAGE NEVER) # Override message not to display info messages when doing a quiet build. function(message) list(GET ARGV 0 MessageType) -- cgit v1.2.3