From 2cf7ab52abb33ccc91dd419a7bbc2d25220a4f83 Mon Sep 17 00:00:00 2001 From: CPunch Date: Mon, 14 Mar 2022 00:53:32 -0500 Subject: [PATCH] Added util library to bot's CMakeList.txt target_link_libraries() --- bot/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/CMakeLists.txt b/bot/CMakeLists.txt index 84b72cf..dbfe792 100644 --- a/bot/CMakeLists.txt +++ b/bot/CMakeLists.txt @@ -11,7 +11,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON) file(GLOB_RECURSE BOTSOURCE ${CMAKE_CURRENT_SOURCE_DIR}/src/**.c) file(GLOB_RECURSE BOTHEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/**.h) add_executable(LaikaBot ${BOTSOURCE} ${BOTHEADERS}) -target_link_libraries(LaikaBot PUBLIC LaikaLib) +target_link_libraries(LaikaBot PUBLIC LaikaLib util) # add the 'DEBUG' preprocessor definition if we're compiling as Debug target_compile_definitions(LaikaBot PUBLIC "$<$:DEBUG>")