1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-12-27 05:10:06 +00:00

Added util library to bot's CMakeList.txt target_link_libraries()

This commit is contained in:
CPunch 2022-03-14 00:53:32 -05:00
parent 9432aaf594
commit 2cf7ab52ab

View File

@ -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 "$<$<CONFIG:Debug>:DEBUG>")