From c293cbdf9e52dc7344d58cc7a863bdc2fabc424c Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 16 Nov 2022 07:45:58 +0100 Subject: [PATCH] Use correct FATAL_ERROR CMake option --- cmake/Modules/CMakeMacroLibtoolFile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index 9d04ef56..9dfc6136 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -5,7 +5,7 @@ macro(libtool_create_control_file _target) # No support for shared libraries, as TigerVNC only needs libtool config # files for static libraries. if("${_target_type}" MATCHES "^[^STATIC_LIBRARY]$") - message(ERROR " - trying to use libtool_create_control_file for non-static library target.") + message(FATAL_ERROR " - trying to use libtool_create_control_file for non-static library target.") endif() # -- 2.39.5