-
Notifications
You must be signed in to change notification settings - Fork 108
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
Use cmake import targets part 1 #1737
Use cmake import targets part 1 #1737
Conversation
@@ -257,6 +257,18 @@ macro (catch_regex_group pattern group var str) | |||
endmacro (catch_regex_group) | |||
|
|||
|
|||
# macro that adds "fontconfig fontconfig-1" to find_library on win32 | |||
macro(find_fontconfig_hack) |
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.
I'm sorry for adding this, I don't know why the windows libraries are named weirdly in our dependencies
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.
Nice! Have you tested under msvc? We also don't want to break that target
@p2004a Good point, I do have a windows install I can try it on, so I'll get to that and report back |
@p2004a I verified that this builds on windows + MSVC (btw do we have a CI machine that we can have for that? We might be able to get something with github runners or appveyor for free since BAR is open source)
Ok that was just the ALL_BUILD which fails on master anyway but engine-legacy builds fine :) |
2419269
to
0d1da54
Compare
…d of just the first two
…s dependencies don't install libpng properly
… targets; use import targets
0d1da54
to
9192311
Compare
This is the first batch of conversions to cmake import targets. There are a lot more beyond this
I've tested these with the v2 builds for both windows and linux -- ideally this shouldn't affect anything beyond the way in which cmake finds things but it should probably be tested thoroughly.
Libraries are separated into different commits, so I can split this further if needed.