diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-11-16 07:58:55 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-10 19:41:13 +0100 |
commit | 11ebff62d7ba49c72132dd5b731af70e3ddab75f (patch) | |
tree | f58f9148cdecd70f71447895ca7c0f206c02a832 /cmake/Modules | |
parent | e78ebbcb19724491e9ad69ce9bf463161128678f (diff) | |
download | tigervnc-11ebff62d7ba49c72132dd5b731af70e3ddab75f.tar.gz tigervnc-11ebff62d7ba49c72132dd5b731af70e3ddab75f.zip |
Bail on missing libraries
They may be crucial, so refuse to continue if this happens.
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/CMakeMacroLibtoolFile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index 1115c0d3..7395a3f1 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -110,7 +110,7 @@ macro(libtool_create_control_file _target) set(_target_dependency_libs "${_target_dependency_libs} -L${_shared_lib_path} -l${_shared_lib}") endif() else() - # No library found, so ignore target. + message(FATAL_ERROR " - could not find library ${library}") endif() # Need to clear FL to get new results next loop unset(FL CACHE) @@ -133,7 +133,7 @@ macro(libtool_create_control_file _target) # Absolute pathname found. Add it. set(_target_dependency_libs "${_target_dependency_libs} ${FL}") else() - # No absolute pathname found. Ignore it. + message(FATAL_ERROR " - could not find library ${library}") endif() # Need to clear FL to get new results next loop unset(FL CACHE) |