mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-12-11 21:11:00 +00:00
Fix compilation on NetBSD (#8)
This commit is contained in:
parent
fbb3a50e9a
commit
425ac9048d
2 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@ if( WIN32 )
|
||||||
add_definitions( -D_WIN32 )
|
add_definitions( -D_WIN32 )
|
||||||
set( SYS_LIBS winmm )
|
set( SYS_LIBS winmm )
|
||||||
else()
|
else()
|
||||||
set( SYS_LIBS dl )
|
set( SYS_LIBS ${CMAKE_DL_LIBS} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/zmusic" "${CMAKE_CURRENT_SOURCE_DIR}/../include" "${CMAKE_CURRENT_SOURCE_DIR}/../thirdparty/dumb/include" "${ZLIB_INCLUDE_DIR}" "${ADL_INCLUDE_DIR}" "${OPN_INCLUDE_DIR}" "${TIMIDITYPP_INCLUDE_DIR}" "${TIMIDITY_INCLUDE_DIR}" "${WILDMIDI_INCLUDE_DIR}" "${OPLSYNTH_INCLUDE_DIR}" "${GME_INCLUDE_DIR}" )
|
include_directories( "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/zmusic" "${CMAKE_CURRENT_SOURCE_DIR}/../include" "${CMAKE_CURRENT_SOURCE_DIR}/../thirdparty/dumb/include" "${ZLIB_INCLUDE_DIR}" "${ADL_INCLUDE_DIR}" "${OPN_INCLUDE_DIR}" "${TIMIDITYPP_INCLUDE_DIR}" "${TIMIDITY_INCLUDE_DIR}" "${WILDMIDI_INCLUDE_DIR}" "${OPLSYNTH_INCLUDE_DIR}" "${GME_INCLUDE_DIR}" )
|
||||||
|
|
1
thirdparty/wildmidi/wildmidi/wildmidi_lib.h
vendored
1
thirdparty/wildmidi/wildmidi/wildmidi_lib.h
vendored
|
@ -28,6 +28,7 @@
|
||||||
#define WILDMIDI_LIB_H
|
#define WILDMIDI_LIB_H
|
||||||
|
|
||||||
#include "../../../source/zmusic/fileio.h"
|
#include "../../../source/zmusic/fileio.h"
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
namespace WildMidi
|
namespace WildMidi
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue