mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-26 00:28:25 +00:00
cmake: fix for imlib2
- on my system, libImlib2.so is written with a capitalised I - IMLIB2_LIB is empty, but IMLIB2_LDFLAGS contains what we need
This commit is contained in:
parent
52e3cd36c4
commit
243a234352
@ -232,8 +232,8 @@ if(BUILD_NVIDIA)
|
||||
endif(BUILD_NVIDIA)
|
||||
|
||||
if(BUILD_IMLIB2)
|
||||
pkg_check_modules(IMLIB2 imlib2)
|
||||
set(conky_libs ${conky_libs} ${IMLIB2_LIB})
|
||||
pkg_search_module(IMLIB2 REQUIRED imlib2 Imlib2)
|
||||
set(conky_libs ${conky_libs} ${IMLIB2_LIB} ${IMLIB2_LDFLAGS})
|
||||
set(conky_includes ${conky_includes} ${IMLIB2_INCLUDE_PATH})
|
||||
endif(BUILD_IMLIB2)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user