diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2018-12-08 13:39:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-08 13:39:48 +0100 |
commit | 73ccf4a7c7d8a1a26d1258f44a37c1fc02f4b14b (patch) | |
tree | 7223dda1c0e4f72b79cb102cc329981fd4c17001 /CMakeLists.txt | |
parent | 13c59cb051c4deee5367f9c5fc7b5d07363496a0 (diff) | |
parent | 66f90464a8cd00e2380fb5567309f1bbda11bb8f (diff) |
Merge pull request #140 from haberman/cmake-mac-fixes
Bazel and CMake fixes for macOS
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c78ee0..30822ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,11 +118,9 @@ add_library(upb_json target_link_libraries(upb_json upb upb_pb) -add_library(upb_cc_bindings - upb/bindings/stdc++/string.h) -target_link_libraries(upb_cc_bindings +add_library(upb_cc_bindings INTERFACE) +target_link_libraries(upb_cc_bindings INTERFACE upb) -set_target_properties(upb_cc_bindings PROPERTIES LINKER_LANGUAGE CXX) add_library(upb_test tests/testmain.cc tests/test_util.h |