diff --git a/CMakeLists.txt b/CMakeLists.txt index ed8472d..5e2842d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,20 +22,20 @@ if (NOT dpp_FOUND) add_library(dpp::dpp ALIAS dpp) endif() else() - message(STATUS "Using system-installed DPP") + message(STATUS "DPP is already there in ${dpp_DIR}. Skipping this step...") endif() if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/config.json) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/config.json DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) else() - message(STATUS "src/config.json not found; skipping config copy") + message(FATAL_ERROR "src/config.json NOT FOUND! Please place the folder in the src/ folder.") endif() file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) add_executable(bot src/main.cpp - #globals + # globals src/globals/globals.cpp src/globals/globals.h