mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
update openal-soft
sync point: master-ac5d40e40a0155351fe1be4aab30017b6a13a859
This commit is contained in:
parent
762a84550f
commit
3603188b7f
365 changed files with 76053 additions and 53126 deletions
31
Engine/lib/openal-soft/cmake/FindOboe.cmake
Normal file
31
Engine/lib/openal-soft/cmake/FindOboe.cmake
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# - Find Oboe
|
||||
# Find the Oboe library
|
||||
#
|
||||
# This module defines the following variable:
|
||||
# OBOE_FOUND - True if Oboe was found
|
||||
#
|
||||
# This module defines the following target:
|
||||
# oboe::oboe - Import target for linking Oboe to a project
|
||||
#
|
||||
|
||||
find_path(OBOE_INCLUDE_DIR NAMES oboe/Oboe.h
|
||||
DOC "The Oboe include directory"
|
||||
)
|
||||
|
||||
find_library(OBOE_LIBRARY NAMES oboe
|
||||
DOC "The Oboe library"
|
||||
)
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set OBOE_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Oboe REQUIRED_VARS OBOE_LIBRARY OBOE_INCLUDE_DIR)
|
||||
|
||||
if(OBOE_FOUND)
|
||||
add_library(oboe::oboe UNKNOWN IMPORTED)
|
||||
set_target_properties(oboe::oboe PROPERTIES
|
||||
IMPORTED_LOCATION ${OBOE_LIBRARY}
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${OBOE_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
mark_as_advanced(OBOE_INCLUDE_DIR OBOE_LIBRARY)
|
||||
Loading…
Add table
Add a link
Reference in a new issue