From 47bdc9d1173c9e4647d9374931fac70da95b73a6 Mon Sep 17 00:00:00 2001 From: pd3v Date: Mon, 15 Jul 2024 15:40:45 +0100 Subject: [PATCH] repath parser ref --- CMakeLists.txt | 4 ++-- line.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7516e0..110bdbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,8 +74,8 @@ target_link_libraries( Ableton::Link ) -file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser/) -file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lineparser.lua +# file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser/) +# file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lineparser.lua DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/build/externals/parser) install(TARGETS ${PROJECT_NAME}) diff --git a/line.cpp b/line.cpp index 20a843c..05f7140 100755 --- a/line.cpp +++ b/line.cpp @@ -22,8 +22,8 @@ #include #include #include "externals/link/examples/linkaudio/AudioPlatform_Dummy.hpp" -#include "externals/rtmidi/RtMidi.h" -//#include "RtMidi.h" +// #include "externals/rtmidi/RtMidi.h" +#include "RtMidi.h" #if (__APPLE__) #define __MACOSX_CORE__ @@ -133,7 +133,7 @@ class Parser { public: Parser() { luaL_openlibs(L); - const std::string parserFile = "externals/parser/lineparser.lua"; + const std::string parserFile = "../lineparser.lua"; std::ostringstream textBuffer; std::ifstream input (parserFile.c_str()); textBuffer << input.rdbuf();