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

Cannot build on windows without commenting out line 154+ in CMakeLists.txt #30

Closed
rhtgrg opened this issue Oct 30, 2014 · 3 comments · Fixed by #52
Closed

Cannot build on windows without commenting out line 154+ in CMakeLists.txt #30

rhtgrg opened this issue Oct 30, 2014 · 3 comments · Fixed by #52

Comments

@rhtgrg
Copy link

rhtgrg commented Oct 30, 2014

When pthread.h is not available (didn't test with an available one), the build fails with:

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

@mobileben
Copy link

I think I figured this out. Add

find_package (Threads)

To CMakeLists.txt, after the line for project(Box2D)

I asked a similar question here: #37

@trophygeek
Copy link

Issue still there. This fix from mobileben worked for me.

trophygeek pushed a commit to trophygeek/liquidfun that referenced this issue Feb 10, 2015
@LarryTurtis
Copy link

I had this same issue in Ubuntu 16.04 and resolved it by using the method described by @mobileben

kant added a commit to kant/liquidfun that referenced this issue Jan 3, 2018
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

Successfully merging a pull request may close this issue.

4 participants