aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-08 01:34:09 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-11-08 01:34:09 +0800
commit2aa2ce24207d2e495dbe9d2cc3656229aa768f19 (patch)
tree47ceea3bb6f6d1971a55c6e43fc9765ba5fe5d66 /qmidiplayer-desktop
parent048e57b723c946d96aca260e26ba60dd380fde90 (diff)
downloadQMidiPlayer-2aa2ce24207d2e495dbe9d2cc3656229aa768f19.tar.xz
Documentation update time!
Diffstat (limited to 'qmidiplayer-desktop')
-rw-r--r--qmidiplayer-desktop/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/CMakeLists.txt b/qmidiplayer-desktop/CMakeLists.txt
index 9b488e2..a9b6bf1 100644
--- a/qmidiplayer-desktop/CMakeLists.txt
+++ b/qmidiplayer-desktop/CMakeLists.txt
@@ -51,6 +51,9 @@ include_directories(${fluidsynth_INCLUDE_DIRS})
include_directories(${rtmidi_INCLUDE_DIRS})
include_directories(${PROJECT_SOURCE_DIR}/include/)
+cmake_host_system_information(RESULT build_host QUERY HOSTNAME)
+add_definitions(-DBUILD_MACHINE=${build_host})
+
add_executable(qmidiplayer
${qmpdesktop_SOURCES}
)