Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
Error was:

  CMake Error at third-party/libzip/regress/CMakeLists.txt:216 (ADD_CUSTOM_TARGET):
    ADD_CUSTOM_TARGET cannot create target "check" because another target with
    the same name already exists.  The existing target is a custom target
    created in source directory
    "third-party/capnproto/c++/src".
  See documentation for policy CMP0002 for more details.
  • Loading branch information
juztamau5 committed Mar 10, 2024
1 parent 076c1bf commit 28e5e9e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openai/third-party/capnproto/c++/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ if(BUILD_TESTING)
set(CAPNP_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
#TODO(someday) It would be nice to use targets instead of variables in CAPNP_GENERATE_CPP macro
endif()

# Sadly, we can't use the 'test' target, as that's coopted by ctest
add_custom_target(check "${CMAKE_CTEST_COMMAND}" -V)
endif() # BUILD_TESTING

# kj ===========================================================================
Expand Down

0 comments on commit 28e5e9e

Please sign in to comment.