blob: afb523855e8fe7ff22dbb8a6831c24e6eaae3da2 (
plain) (
blame)
1
2
3
4
5
6
7
|
MACRO(pkg_config_library LIBNAME pcfile)
pkg_check_modules(${LIBNAME} REQUIRED ${pcfile})
include_directories(${${LIBNAME}_INCLUDE_DIRS})
link_directories(${${LIBNAME}_LIBRARY_DIRS})
add_definitions(${${LIBNAME}_CFLAGS_OTHER})
set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${${LIBNAME}_LIBRARIES})
ENDMACRO()
|