-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Update windows static builds. #103
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
Conversation
| std::cout << "Reason was: " << *reason << std::endl; | ||
| } | ||
|
|
||
| // Identify a series of contexts. |
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.
Remove this, because sleep isn't just included in windows.
| find_package(Threads REQUIRED) | ||
|
|
||
| add_executable(hello-cpp main.cpp) | ||
| target_link_libraries(hello-cpp PRIVATE launchdarkly::client launchdarkly::sse launchdarkly::common 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.
Common being included was causing all kinds of missing symbols, when all those are already in client.
| add_library(launchdarkly::client ALIAS ${LIBNAME}) | ||
|
|
||
|
|
||
| set_property(TARGET ${LIBNAME} PROPERTY |
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.
We may need to have a more complex version of this eventually. But as is we always dynamically link against the windows runtime. Either the debug or release version.
No description provided.