File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,13 @@ if(HUNTER_ENABLED)
20
20
find_package (libogg CONFIG REQUIRED )
21
21
set (OGG_LIBRARY libogg::ogg )
22
22
get_target_property (OGG_INCLUDE_DIR libogg::ogg INTERFACE_INCLUDE_DIRECTORIES )
23
+ set (OGG_INCLUDE_DIR $< BUILD_INTERFACE:${OGG_INCLUDE_DIR} > )
23
24
24
25
hunter_add_package (Opus )
25
26
find_package (Opus CONFIG REQUIRED )
26
27
set (OPUS_LIBRARY Opus::opus )
27
28
get_target_property (OPUS_INCLUDE_DIR Opus::opus INTERFACE_INCLUDE_DIRECTORIES )
28
- set (OPUS_INCLUDE_DIR ${OPUS_INCLUDE_DIR} $ {OPUS_INCLUDE_DIR}/opus )
29
+ set (OPUS_INCLUDE_DIR $< BUILD_INTERFACE: $ {OPUS_INCLUDE_DIR}> $< BUILD_INTERFACE: $ {OPUS_INCLUDE_DIR} /opus> $< INSTALL_INTERFACE:include/opus > )
29
30
else ()
30
31
find_path (OGG_INCLUDE_DIR ogg/ogg.h )
31
32
find_library (OGG_LIBRARY ogg )
You can’t perform that action at this time.
0 commit comments