blob: 7be7cb0bc5f308e2cb42f62c0d16a5f4fab1689b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(PC_FADINGUI fadingui)
FIND_PATH(
FADINGUI_INCLUDE_DIRS
NAMES fadingui/api.h
HINTS $ENV{FADINGUI_DIR}/include
${PC_FADINGUI_INCLUDEDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/include
/usr/local/include
/usr/include
)
FIND_LIBRARY(
FADINGUI_LIBRARIES
NAMES gnuradio-fadingui
HINTS $ENV{FADINGUI_DIR}/lib
${PC_FADINGUI_LIBDIR}
PATHS ${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
/usr/local/lib
/usr/local/lib64
/usr/lib
/usr/lib64
)
include("${CMAKE_CURRENT_LIST_DIR}/fadinguiTarget.cmake")
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(FADINGUI DEFAULT_MSG FADINGUI_LIBRARIES FADINGUI_INCLUDE_DIRS)
MARK_AS_ADVANCED(FADINGUI_LIBRARIES FADINGUI_INCLUDE_DIRS)
|