Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

test.camke line 16 add_library path error #205

Open
CatfishGamer opened this issue Apr 12, 2017 · 0 comments
Open

test.camke line 16 add_library path error #205

CatfishGamer opened this issue Apr 12, 2017 · 0 comments

Comments

@CatfishGamer
Copy link

original likes follow:
add_library(gmock STATIC
${protobuf_source_dir}/gmock/src/gmock-all.cc
${protobuf_source_dir}/gmock/gtest/src/gtest-all.cc
)

will report an error! cannot find path "src/gtest-all.cc"

fixed:
add_library(gmock STATIC
${protobuf_source_dir}/gmock/src/gmock-all.cc
${protobuf_source_dir}/gmock/test/gmock_all_test.cc
)
will works well in cmake

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant