Skip to content

Commit

Permalink
check for gen/emoji.h
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Aug 28, 2024
1 parent 5c4bec5 commit d07aa44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ add_executable(${BOT_NAME} ${coresrc})

target_precompile_headers(${BOT_NAME} INTERFACE "/usr/local/include/fmt/format.h")

if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/include/gen/emoji.h)
message(FATAL_ERROR "include/gen/emoji.h missing - You need to generate the list of emojis first from the admin website via `php artisan app:upload-sprites`")
endif()

string(ASCII 27 Esc)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down

0 comments on commit d07aa44

Please sign in to comment.