Skip to content

Commit

Permalink
xrSound: fix Windows linkage with eax.lib
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Jun 6, 2018
1 parent 36c6bcb commit b9274fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/xrSound/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicSt
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicStream.h")


add_definitions(-DXRSOUND_EXPORTS -DdSINGLE -D_SECURE_SCL=0)
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})

set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
Expand Down
2 changes: 1 addition & 1 deletion src/xrSound/guids.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma hdrstop

#define INITGUID
#if defined(WINDOWS)
#if defined(_WIN32)
#include <dsound.h>
#include <eax/eax.h>
#endif
Expand Down

0 comments on commit b9274fc

Please sign in to comment.