CMake: improve debug macros
This commit is contained in:
parent
74b9d5fb05
commit
578601f062
@ -44,15 +44,21 @@ macro (fl_debug_pkg PREFIX NAME)
|
||||
fl_debug_var (${PREFIX}_FOUND)
|
||||
if (${PREFIX}_FOUND)
|
||||
|
||||
fl_debug_var (${PREFIX}_INCLUDE_DIRS)
|
||||
fl_debug_var (${PREFIX}_CFLAGS)
|
||||
fl_debug_var (${PREFIX}_LIBRARIES)
|
||||
fl_debug_var (${PREFIX}_LINK_LIBRARIES)
|
||||
fl_debug_var (${PREFIX}_LIBRARY_DIRS)
|
||||
fl_debug_var (${PREFIX}_LDFLAGS)
|
||||
fl_debug_var (${PREFIX}_LDFLAGS_OTHER)
|
||||
fl_debug_var (${PREFIX}_INCLUDE_DIRS)
|
||||
fl_debug_var (${PREFIX}_CFLAGS)
|
||||
fl_debug_var (${PREFIX}_CFLAGS_OTHER)
|
||||
|
||||
fl_debug_var (${PREFIX}_STATIC_INCLUDE_DIRS)
|
||||
fl_debug_var (${PREFIX}_STATIC_CFLAGS)
|
||||
fl_debug_var (${PREFIX}_STATIC_LIBRARIES)
|
||||
fl_debug_var (${PREFIX}_STATIC_LINK_LIBRARIES)
|
||||
fl_debug_var (${PREFIX}_STATIC_LIBRARY_DIRS)
|
||||
|
||||
fl_debug_var (${PREFIX}_VERSION)
|
||||
fl_debug_var (${PREFIX}_PREFIX)
|
||||
fl_debug_var (${PREFIX}_INCLUDEDIR)
|
||||
|
@ -33,7 +33,7 @@
|
||||
#######################################################################
|
||||
|
||||
macro (fl_debug_var name)
|
||||
set (min_len 30)
|
||||
set (min_len 32)
|
||||
set (var "${name}")
|
||||
string(LENGTH "${var}" len)
|
||||
while (len LESS min_len)
|
||||
|
Loading…
Reference in New Issue
Block a user