Skip to content
Snippets Groups Projects
Commit e73cbc1c authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

PKG: proper check for unknown depependencies

parent 8cb5785f
No related branches found
No related tags found
1 merge request!3Qt4to5
......@@ -31,18 +31,18 @@ function(process_file_recurse input_file)
if(LINUX)
setif_value_in_list(is_gtk_lib "${input_file}" ALLOWED_SYSTEM_DLLS)
if(is_gtk_lib)
search_library(${input_file} PKG_GTK_SEARCHDIRS input_file_full_path)
if( NOT input_file_full_path)
message(FATAL_ERROR "${input_file} not found. searched in ${PKG_GTK_SEARCHDIRS}")
endif()
search_library(${input_file} PKG_GTK_SEARCHDIRS input_file_full_path)
if( NOT input_file_full_path)
message(FATAL_ERROR "${input_file} not found. searched in ${PKG_GTK_SEARCHDIRS}")
endif()
endif()
if( NOT input_file_full_path)
message(FATAL_ERROR "${input_file} not found. searched in ${PKG_SEARCHDIRS}")
endif()
endif(LINUX)
endif() #if(NOT input_file_full_path)
if( NOT input_file_full_path)
message(FATAL_ERROR "${input_file} not found. searched in ${PKG_SEARCHDIRS}")
endif()
if(NOT PKG_DEBUG)
message("Processing ${input_file_full_path}")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment