From d221570cc274c9fd9b21b4b62bec39acd4182663 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 29 Sep 2021 23:12:09 +0200 Subject: Fixed vorbis public includes --- vorbis/lib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vorbis/lib/CMakeLists.txt') diff --git a/vorbis/lib/CMakeLists.txt b/vorbis/lib/CMakeLists.txt index 387ce25..daa3416 100644 --- a/vorbis/lib/CMakeLists.txt +++ b/vorbis/lib/CMakeLists.txt @@ -82,6 +82,10 @@ if (NOT BUILD_FRAMEWORK) get_version_info(VORBISFILE_VERSION_INFO "VF_LIB_CURRENT" "VF_LIB_AGE" "VF_LIB_REVISION") set_target_properties(vorbisfile PROPERTIES SOVERSION ${VORBISFILE_VERSION_INFO}) + target_include_directories(vorbis PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../include) + target_include_directories(vorbisenc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../include) + target_include_directories(vorbisfile PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../include) + target_link_libraries(vorbis Ogg::ogg) target_link_libraries(vorbisenc Ogg::ogg vorbis) target_link_libraries(vorbisfile Ogg::ogg vorbis) -- cgit v1.1