-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
gaia-ecs: new recipe #23080
gaia-ecs: new recipe #23080
Conversation
This comment has been minimized.
This comment has been minimized.
set(THREADS_PREFER_PTHREAD_FLAG ON) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(${PROJECT_NAME} PRIVATE Threads::Threads) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fact that he test package isn't using threads directly indicates that something is missing in the package_info
method. Perhaps:
if self.settings.os in ["FreeBSD", "Linux"]:
self.cpp_info.system_libs = ["pthread"]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 at this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point!
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 5 (
Conan v2 pipeline ✔️
All green in build 5 (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* gaia-ecs: new recipe * Add pthread * Remove threads from test cmakelists * Change to 0.8.6
Specify library name and version: gaia-ecs/0.8.5
Cmake target is named just "gaia" as per upstream's cmakelists