Skip to content

Commit

Permalink
build: emqx forked rebar3 in cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Nov 27, 2023
1 parent 07e6ff0 commit 160a688
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,8 @@ set_target_properties(quicer_nif
include(GNUInstallDirs)
install(TARGETS quicer_nif LIBRARY DESTINATION ${PROJECT_SOURCE_DIR}/priv/)

## workaround for emqx forked rebar3
## For none-emqx rebar3, it should be just a noop of 'Up-to-date' instead of 'installing'
if (DEFINED ENV{REBAR_DEPS_DIR})
install(TARGETS quicer_nif LIBRARY DESTINATION $ENV{REBAR_DEPS_DIR}/quicer/priv/)
endif()

0 comments on commit 160a688

Please sign in to comment.