aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e926c1e7..c9681de4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1494,6 +1494,9 @@ if(ALSOFT_EMBED_HRTF_DATA)
message(STATUS "")
endif()
+# An alias for sub-project builds
+add_library(OpenAL::OpenAL ALIAS OpenAL)
+
# Install main library
if(ALSOFT_INSTALL)
configure_package_config_file(OpenALConfig.cmake.in OpenALConfig.cmake