summaryrefslogtreecommitdiff
path: root/indra/cmake/OPENAL.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 18:28:55 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 18:28:55 +0200
commit363f2df4fa22b3eb95ff4603d73b7a042f3fefd1 (patch)
tree2be3fd78495421ec59ad2f9aa2310002008af6fc /indra/cmake/OPENAL.cmake
parente0cf0cdfd49e5a946dcd202a083fb23f01e4f1fe (diff)
Remove function create_target and instead directly use add_library
Diffstat (limited to 'indra/cmake/OPENAL.cmake')
-rw-r--r--indra/cmake/OPENAL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/OPENAL.cmake b/indra/cmake/OPENAL.cmake
index faa247769b..84dad367b7 100644
--- a/indra/cmake/OPENAL.cmake
+++ b/indra/cmake/OPENAL.cmake
@@ -12,7 +12,7 @@ if(OPENAL)
endif()
if (USE_OPENAL)
- create_target( ll::openal )
+ add_library( ll::openal INTERFACE IMPORTED )
target_include_directories( ll::openal SYSTEM INTERFACE "${LIBS_PREBUILT_DIR}/include/AL")
target_compile_definitions( ll::openal INTERFACE LL_OPENAL=1)
use_prebuilt_binary(openal)