mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
574 B
23 lines
574 B
|
11 years ago
|
# LCL_FOUND - Libclangmm is available
|
||
|
|
# LCL_INCLUDE_DIRS - The libclangmm include directories
|
||
|
|
# LCL_LIBRARIES -
|
||
|
11 years ago
|
|
||
|
|
find_package(PkgConfig)
|
||
|
|
|
||
|
11 years ago
|
find_path(LCL_INCLUDE_DIR clangmm.h
|
||
|
11 years ago
|
HINTS "/usr/local/include/libclangmm/"
|
||
|
11 years ago
|
)
|
||
|
11 years ago
|
|
||
|
11 years ago
|
find_library(LCL_LIBRARY NAMES clangmm
|
||
|
11 years ago
|
HINTS "/usr/local/lib/"
|
||
|
11 years ago
|
)
|
||
|
11 years ago
|
|
||
|
|
set(LCL_LIBRARIES ${LCL_LIBRARY} )
|
||
|
|
set(LCL_INCLUDE_DIRS ${LCL_INCLUDE_DIR} )
|
||
|
|
|
||
|
|
include(FindPackageHandleStandardArgs)
|
||
|
|
find_package_handle_standard_args(LCL DEFAULT_MSG
|
||
|
|
LCL_LIBRARY LCL_INCLUDE_DIR)
|
||
|
|
|
||
|
11 years ago
|
mark_as_advanced(LCL_INCLUDE_DIR LCL_LIBRARY )
|