diff options
author | Wohlstand <admin@wohlnet.ru> | 2019-09-23 17:57:11 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2019-09-23 17:57:11 +0300 |
commit | 7e01feebae9bcf2e37b7d560a0308fb0a28aa89d (patch) | |
tree | e96afcb4114f341d8dbee3580778d17a03b07c3d /examples/sdl2_audio/CMakeLists.txt | |
parent | a17c7f12953e89c311736181807e988f570a5ac5 (diff) | |
parent | 4f121a22cc72ef8e092d234a2fe78aeb4369d0da (diff) | |
download | libADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.tar.gz libADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.tar.bz2 libADLMIDI-7e01feebae9bcf2e37b7d560a0308fb0a28aa89d.zip |
MidiPlay: Move Audio Output into separate module
Diffstat (limited to 'examples/sdl2_audio/CMakeLists.txt')
-rw-r--r-- | examples/sdl2_audio/CMakeLists.txt | 3 |
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}") + |