mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
52c3e46637
this allows for redict to use the same include paths for both system and vendored hiredict, allowing use of system hiredict without patches. Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
14 lines
346 B
CMake
14 lines
346 B
CMake
@PACKAGE_INIT@
|
|
|
|
set_and_check(hiredict_INCLUDEDIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
|
|
IF (NOT TARGET hiredict::@hiredict_export_name@)
|
|
INCLUDE(${CMAKE_CURRENT_LIST_DIR}/hiredict-targets.cmake)
|
|
ENDIF()
|
|
|
|
SET(hiredict_LIBRARIES hiredict::@hiredict_export_name@)
|
|
SET(hiredict_INCLUDE_DIRS ${hiredict_INCLUDEDIR})
|
|
|
|
check_required_components(hiredict)
|
|
|