Fix "no remove aqua speed" bug when player leaves the water
[ryzomcore.git] / nel / src / sound / driver / dsound / CMakeLists.txt
blobe3a81fb853a0a5c664127749c017f124b8423aea
1 FILE(GLOB SRC *.cpp *.h *.def *.rc)
3 NL_TARGET_DRIVER(nel_drv_dsound_win ${SRC})
5 INCLUDE_DIRECTORIES(BEFORE ${DXSDK_INCLUDE_DIR})
6 TARGET_LINK_LIBRARIES(nel_drv_dsound_win nelmisc nelsnd_lowlevel ${DXSDK_DSOUND_LIBRARY})
8 NL_DEFAULT_PROPS(nel_drv_dsound_win "NeL, Driver, Sound: DirectSound")
9 NL_ADD_RUNTIME_FLAGS(nel_drv_dsound_win)
10 NL_ADD_LIB_SUFFIX(nel_drv_dsound_win)
12 IF(WITH_PCH)
13   ADD_NATIVE_PRECOMPILED_HEADER(nel_drv_dsound_win ${CMAKE_CURRENT_SOURCE_DIR}/stddsound.h ${CMAKE_CURRENT_SOURCE_DIR}/stddsound.cpp)
14 ENDIF()
16 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC_DRIVERS) OR NOT WITH_STATIC_DRIVERS)
17   INSTALL(TARGETS nel_drv_dsound_win RUNTIME DESTINATION ${NL_DRIVER_PREFIX} LIBRARY DESTINATION ${NL_DRIVER_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT driverssound)
18   IF(WITH_MAXPLUGIN)
19     INSTALL(TARGETS nel_drv_dsound_win RUNTIME DESTINATION maxplugin COMPONENT driverssound)
20   ENDIF()
21 ENDIF()