Fix "no remove aqua speed" bug when player leaves the water
[ryzomcore.git] / nel / src / sound / driver / CMakeLists.txt
blob320c4ee055710732e230b7bee1badb7f0e55ef78
1 FILE(GLOB SRC *.cpp *.h)
2 FILE(GLOB HEADERS ../../../include/nel/sound/driver/*.h)
4 NL_TARGET_LIB(nelsnd_lowlevel ${HEADERS} ${SRC})
6 TARGET_LINK_LIBRARIES(nelsnd_lowlevel nelmisc)
7 NL_DEFAULT_PROPS(nelsnd_lowlevel "NeL, Library: Sound Lowlevel")
8 NL_ADD_RUNTIME_FLAGS(nelsnd_lowlevel)
9 NL_ADD_STATIC_SND_DRIVERS(nelsnd_lowlevel)
11 NL_ADD_LIB_SUFFIX(nelsnd_lowlevel)
13 IF(WITH_PCH)
14   ADD_NATIVE_PRECOMPILED_HEADER(nelsnd_lowlevel ${CMAKE_CURRENT_SOURCE_DIR}/stdsound_lowlevel.h ${CMAKE_CURRENT_SOURCE_DIR}/stdsound_lowlevel.cpp)
15 ENDIF()
17 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
18   INSTALL(TARGETS nelsnd_lowlevel LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT libraries)
19 ENDIF()
21 IF(WITH_DRIVER_OPENAL)
22   ADD_SUBDIRECTORY(openal)
23 ENDIF()
25 IF(WITH_DRIVER_FMOD)
26   ADD_SUBDIRECTORY(fmod)
27 ENDIF()
29 IF(WITH_DRIVER_DSOUND)
30   ADD_SUBDIRECTORY(dsound)
31 ENDIF()
33 IF(WITH_DRIVER_XAUDIO2)
34   ADD_SUBDIRECTORY(xaudio2)
35 ENDIF()