aboutsummaryrefslogtreecommitdiff
path: root/utils/midiplay
diff options
context:
space:
mode:
authorAlexander Grund <alexander.grund@tu-dresden.de>2018-12-13 10:18:42 +0100
committerAlexander Grund <alexander.grund@tu-dresden.de>2018-12-13 10:29:49 +0100
commit613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5 (patch)
tree00de25ae58f9a984a2ed4bcdee5e2325a0ae5473 /utils/midiplay
parent68d5c8d63c4901b1894af89f417285b32727935f (diff)
downloadlibADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.tar.gz
libADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.tar.bz2
libADLMIDI-613b7127cfc84ecb0dbfcbee12f0c9776ab20cb5.zip
Fix compile definitions
No "-D" needed
Diffstat (limited to 'utils/midiplay')
-rw-r--r--utils/midiplay/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/midiplay/CMakeLists.txt b/utils/midiplay/CMakeLists.txt
index 6e46885..9134f7f 100644
--- a/utils/midiplay/CMakeLists.txt
+++ b/utils/midiplay/CMakeLists.txt
@@ -16,12 +16,12 @@ if(NOT MSDOS AND NOT DJGPP AND NOT MIDIPLAY_WAVE_ONLY)
endif()
if(MIDIPLAY_WAVE_ONLY)
- target_compile_definitions(adlmidiplay PUBLIC "-DOUTPUT_WAVE_ONLY")
+ target_compile_definitions(adlmidiplay PUBLIC OUTPUT_WAVE_ONLY)
message("Demo tool will only output WAVE file, no playing support.")
endif()
if(MSDOS OR DJGPP)
- target_compile_definitions(adlmidiplay PUBLIC "-DHARDWARE_OPL3")
+ target_compile_definitions(adlmidiplay PUBLIC HARDWARE_OPL3)
message("Turn on hardware OPL3 support on demo tool")
endif()