diff --git a/CMakeLists.txt b/CMakeLists.txt index a17c66f..bd628c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,12 +20,13 @@ if(HUNTER_ENABLED) find_package(libogg CONFIG REQUIRED) set(OGG_LIBRARY libogg::ogg) get_target_property(OGG_INCLUDE_DIR libogg::ogg INTERFACE_INCLUDE_DIRECTORIES) + set(OGG_INCLUDE_DIR $) hunter_add_package(Opus) find_package(Opus CONFIG REQUIRED) set(OPUS_LIBRARY Opus::opus) get_target_property(OPUS_INCLUDE_DIR Opus::opus INTERFACE_INCLUDE_DIRECTORIES) - set(OPUS_INCLUDE_DIR ${OPUS_INCLUDE_DIR} ${OPUS_INCLUDE_DIR}/opus) + set(OPUS_INCLUDE_DIR $ $ $) else() find_path(OGG_INCLUDE_DIR ogg/ogg.h) find_library(OGG_LIBRARY ogg)