Skip to content

Commit

Permalink
xrSound: fix travis-ci build #2
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Jun 1, 2018
1 parent 907e8d8 commit 04ed52f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Common/PlatformLinux.inl
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ inline int _filelength(int fd)
#define __max(a, b) std::max(a, b)
#define __min(a, b) std::min(a, b)

#define xr_itoa SDL_itoa
#define itoa SDL_itoa

#define ZeroMemory(p, sz) memset((p), 0, (sz))
#define CopyMemory(d, s, n) memcpy(d, s, n)
Expand All @@ -256,4 +256,4 @@ inline int _filelength(int fd)
#define _MAX_DRIVE 3
#define _MAX_DIR 256
#define _MAX_FNAME 256
#define _MAX_EXT 256
#define _MAX_EXT 256
3 changes: 2 additions & 1 deletion src/xrSound/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./MusicS
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})

set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB)
#target_link_libraries(${PROJECT_NAME} xrCore ogg vorbis vorbisfile openal xrAPI xrCDB)
target_link_libraries(${PROJECT_NAME} xrCore xrAPI xrCDB)

0 comments on commit 04ed52f

Please sign in to comment.