Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faulty CMakeLists.txt by default #3

Open
chevdor opened this issue Oct 1, 2017 · 0 comments
Open

Faulty CMakeLists.txt by default #3

chevdor opened this issue Oct 1, 2017 · 0 comments

Comments

@chevdor
Copy link

chevdor commented Oct 1, 2017

I did a regular install (OSX).
I ran:

yo cpp-suite
mkdir build 
cd build
cmake ..
You have called ADD_LIBRARY for library myprog without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error at /usr/local/Cellar/cmake/3.9.3_1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR
  GTEST_MAIN_LIBRARY)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.9.3_1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.9.3_1/share/cmake/Modules/FindGTest.cmake:146 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  tests/CMakeLists.txt:3 (find_package)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant