Skip to content

Commit

Permalink
Add EXCLUDE_FROM_ALL property when adding Oboe from source (#1014)
Browse files Browse the repository at this point in the history
Avoids installing Oboe headers/libs alongside OpenAL Soft itself.

Ref: <https://cmake.org/cmake/help/latest/prop_dir/EXCLUDE_FROM_ALL.html>
  • Loading branch information
hhromic committed Jul 7, 2024
1 parent ef13491 commit 0134982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,7 @@ if(ALSOFT_BACKEND_OBOE)
if(ANDROID)
set(OBOE_SOURCE "" CACHE STRING "Source directory for Oboe.")
if(OBOE_SOURCE)
add_subdirectory(${OBOE_SOURCE} ./oboe)
add_subdirectory(${OBOE_SOURCE} ./oboe EXCLUDE_FROM_ALL)
set(OBOE_TARGET oboe)
else()
find_package(oboe CONFIG)
Expand Down

0 comments on commit 0134982

Please sign in to comment.