Skip to content

Commit

Permalink
FIX: add libgc only KANON_TESTS specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Conzxy committed Mar 31, 2023
1 parent 3d36217 commit 9ccf87b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
# Exclude this from default build target but
# if project dependent some targets of this,
# only these targets will be built and used.
add_subdirectory(bdwgc EXCLUDE_FROM_ALL)
if (KANON_TESTS)
add_subdirectory(bdwgc EXCLUDE_FROM_ALL)
endif ()

0 comments on commit 9ccf87b

Please sign in to comment.