Skip to content

Commit

Permalink
fix(cmake): propagate CO_CONTEXT_NO_GENERATOR for headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Codesire-Deng committed Nov 27, 2023
1 parent e584ee3 commit 266b9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CompileOption.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ if (USE_MIMALLOC)
endif()

if (co_context_no_generator) # set by check/check_compile.cmake
target_compile_definitions(co_context PRIVATE CO_CONTEXT_NO_GENERATOR)
target_compile_definitions(co_context PUBLIC CO_CONTEXT_NO_GENERATOR)
endif()

0 comments on commit 266b9a5

Please sign in to comment.