summaryrefslogtreecommitdiffhomepage
path: root/vorbis/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-29 23:12:09 +0200
committerAki <please@ignore.pl>2021-09-29 23:12:09 +0200
commitd221570cc274c9fd9b21b4b62bec39acd4182663 (patch)
tree898fbf0edc79f79e4b78a6565ca07953c8072961 /vorbis/lib/CMakeLists.txt
parent492f0d0d165fc9938a1ee4b3de209f3356ab5c85 (diff)
downloadstarshatter-d221570cc274c9fd9b21b4b62bec39acd4182663.zip
starshatter-d221570cc274c9fd9b21b4b62bec39acd4182663.tar.gz
starshatter-d221570cc274c9fd9b21b4b62bec39acd4182663.tar.bz2
Fixed vorbis public includes
Diffstat (limited to 'vorbis/lib/CMakeLists.txt')
-rw-r--r--vorbis/lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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)