mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-09 20:32:43 +01:00
14 lines
392 B
CMake
14 lines
392 B
CMake
|
# Override CMake's FindBullet module:
|
||
|
# create an IMPORTED TARGET
|
||
|
|
||
|
include("${CMAKE_ROOT}/Modules/FindOpenAL.cmake")
|
||
|
|
||
|
if(OPENAL_FOUND)
|
||
|
add_library(OpenAL::OpenAL UNKNOWN IMPORTED)
|
||
|
set_target_properties(OpenAL::OpenAL PROPERTIES
|
||
|
IMPORTED_LINK_INTERFACE_LANGUAGES "C;CXX"
|
||
|
IMPORTED_LOCATION "${OPENAL_LIBRARY}"
|
||
|
INTERFACE_INCLUDE_DIRECTORIES "${OPENAL_INCLUDE_DIR}"
|
||
|
)
|
||
|
endif()
|