Skip to content

Commit

Permalink
Merge branch 'dev' into tidy-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis authored Jan 22, 2025
2 parents f44d073 + 9c16057 commit 4ad3798
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ if (UNIX)
COMMAND php buildtools/emojis.php
)
set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/../include/dpp/unicode_emojis.h" PROPERTIES GENERATED TRUE )

if (DPP_CORO)
execute_process(
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/.."
COMMAND php buildtools/make_struct.php "\\Dpp\\Generator\\CoroGenerator"
)
endif()
else()
message("-- Autogeneration is not available")
endif()
Expand Down Expand Up @@ -410,8 +417,6 @@ if(DPP_CORO)
endif()
endif()
target_compile_definitions(dpp PUBLIC DPP_CORO)
execute_process(WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/.."
COMMAND php buildtools/make_struct.php "\\Dpp\\Generator\\CoroGenerator")
endif()

if(DPP_FORMATTERS)
Expand Down

0 comments on commit 4ad3798

Please sign in to comment.