X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tools%2Fcarlu%2FCMakeLists.txt;fp=tools%2Fcarlu%2FCMakeLists.txt;h=0ea6a05d5050fc75acfa6c61a9be6870e2a66f1d;hb=f3d4187104102344aff91ee5ddce4a780f5bf6ca;hp=2bd27391ea3a660303998350ed5d59f8149d1f21;hpb=426e6ff2a4bb4ae1c19def78631e28a6cbcd845c;p=carl9170fw.git diff --git a/tools/carlu/CMakeLists.txt b/tools/carlu/CMakeLists.txt index 2bd2739..0ea6a05 100644 --- a/tools/carlu/CMakeLists.txt +++ b/tools/carlu/CMakeLists.txt @@ -9,6 +9,7 @@ set(carlu_src src/debug.c src/cmd.c src/usb.c src/rx.c src/tx.c src/fw.c src/test.c src/main.c) add_definitions(-D_GNU_SOURCE ${USB-1.0_DEFINITIONS}) +add_definitions(-DCARLU_PATH="${CMAKE_CURRENT_SOURCE_DIR}") include_directories(${SDL_INCLUDE_DIR} ${USB-1.0_INCLUDE_DIRS})