Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:multimedia
FAudio
faudio-older-sdl2.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File faudio-older-sdl2.patch of Package FAudio
--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,14 +188,14 @@ endif() elseif (TARGET SDL2) message(STATUS "using TARGET SDL2") - target_link_libraries(FAudio PUBLIC SDL2) + target_link_libraries(FAudio PUBLIC SDL2 m) if(INSTALL_MINGW_DEPENDENCIES) install_shared_libs(TARGETS SDL2 DESTINATION bin NO_INSTALL_SYMLINKS REQUIRED) endif() else() message(STATUS "no TARGET SDL2::SDL2, or SDL2, using variables") target_include_directories(FAudio PUBLIC "$<BUILD_INTERFACE:${SDL2_INCLUDE_DIRS}>") - target_link_libraries(FAudio PUBLIC ${SDL2_LIBRARIES}) + target_link_libraries(FAudio PUBLIC ${SDL2_LIBRARIES} m) if(INSTALL_MINGW_DEPENDENCIES) install_shared_libs(${SDL2_LIBRARIES} DESTINATION bin NO_INSTALL_SYMLINKS) endif() --- a/src/FAudio_internal.h +++ b/src/FAudio_internal.h @@ -141,7 +141,7 @@ #define FAudio_floor(x) SDL_floor(x) #define FAudio_abs(x) SDL_abs(x) #define FAudio_ldexp(v, e) SDL_scalbn(v, e) -#define FAudio_exp(x) SDL_exp(x) +#define FAudio_exp(x) SDL_log(x) #define FAudio_cosf(x) SDL_cosf(x) #define FAudio_sinf(x) SDL_sinf(x)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor