aboutsummaryrefslogtreecommitdiff
path: root/examples/sdl2_audio
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2019-09-23 17:57:11 +0300
committerWohlstand <admin@wohlnet.ru>2019-09-23 17:57:11 +0300
commit7e01feebae9bcf2e37b7d560a0308fb0a28aa89d (patch)
treee96afcb4114f341d8dbee3580778d17a03b07c3d /examples/sdl2_audio
parenta17c7f12953e89c311736181807e988f570a5ac5 (diff)
parent4f121a22cc72ef8e092d234a2fe78aeb4369d0da (diff)
downloadlibADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.tar.gz
libADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.tar.bz2
libADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.zip
MidiPlay: Move Audio Output into separate module
Diffstat (limited to 'examples/sdl2_audio')
-rw-r--r--examples/sdl2_audio/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sdl2_audio/CMakeLists.txt b/examples/sdl2_audio/CMakeLists.txt
index e1f797a..0732c10 100644
--- a/examples/sdl2_audio/CMakeLists.txt
+++ b/examples/sdl2_audio/CMakeLists.txt
@@ -5,6 +5,8 @@ add_executable(adlmidi_sdl2_demo sdl2_sample.c)
target_include_directories(adlmidi_sdl2_demo PRIVATE ${SDL2_INCLUDE_DIRS})
target_link_libraries(adlmidi_sdl2_demo PRIVATE ADLMIDI ${SDL2_LIBRARIES})
+set_nopie(adlmidi_sdl2_demo)
+
if(NOT MSVC)
target_link_libraries(adlmidi_sdl2_demo PRIVATE pthread)
endif()
@@ -18,3 +20,4 @@ endif()
install(TARGETS adlmidi_sdl2_demo
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+