diff options
author | Chris Xiong <chirs241097@gmail.com> | 2019-11-08 01:34:09 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2019-11-08 01:34:09 +0800 |
commit | 2aa2ce24207d2e495dbe9d2cc3656229aa768f19 (patch) | |
tree | 47ceea3bb6f6d1971a55c6e43fc9765ba5fe5d66 /qmidiplayer-desktop/CMakeLists.txt | |
parent | 048e57b723c946d96aca260e26ba60dd380fde90 (diff) | |
download | QMidiPlayer-2aa2ce24207d2e495dbe9d2cc3656229aa768f19.tar.xz |
Documentation update time!
Diffstat (limited to 'qmidiplayer-desktop/CMakeLists.txt')
-rw-r--r-- | qmidiplayer-desktop/CMakeLists.txt | 3 |
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} ) |