diff --git a/libs/openal-soft/CMakeLists.txt b/libs/openal-soft/CMakeLists.txt index 2edb30a4..861dde52 100644 --- a/libs/openal-soft/CMakeLists.txt +++ b/libs/openal-soft/CMakeLists.txt @@ -1378,6 +1378,8 @@ else() endif() endif() +set(OPENAL_LIB_NAME ${IMPL_TARGET} PARENT_SCOPE) + target_include_directories(${IMPL_TARGET} PUBLIC $ @@ -1708,3 +1710,7 @@ if(EXTRA_INSTALLS) LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif() + +if(MEGA) + install(TARGETS ${IMPL_TARGET} RUNTIME DESTINATION . LIBRARY DESTINATION .) +endif()