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

error when running cmake: threads #92

Open
galenwilkerson opened this issue Oct 4, 2018 · 1 comment
Open

error when running cmake: threads #92

galenwilkerson opened this issue Oct 4, 2018 · 1 comment

Comments

@galenwilkerson
Copy link

Hi, great that this exists and thanks for the work!

Trying to install on ubuntu following these instructions:
http://google.github.io/liquidfun/Building/html/md__building_linux.html

$ uname -a
Linux fibonacci 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

when I get to this step, get this output:

$ cmake -G'Unix Makefiles'

CMake Error at CMakeLists.txt:165 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  Threads::Threads

-- Configuring incomplete, errors occurred!
See also "/home/galen/Downloads/liquidfun-master/liquidfun/Box2D/CMakeFiles/CMakeOutput.log".
See also "/home/galen/Downloads/liquidfun-master/liquidfun/Box2D/CMakeFiles/CMakeError.log".

Files also attached.
Thanks in advance for any help.

CMakeError.log
CMakeOutput.log

@csiki
Copy link

csiki commented Apr 22, 2019

just add find_package(Threads) to your CMakeLists.txt file, at least that worked for me on Ubuntu 18.04

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

2 participants