Comments (4)
@ChrisThrasher I know you aren't a fan of the install target/don't generally use it, but it's an issue for those using it with fetch_content.
Have you ever seen any guidelines on dealing with install targets?
from sfml.
@eXpl0it3r I was able to exclude things from SFML
FetchContent_Declare(sfml
GIT_REPOSITORY https://github.com/SFML/SFML.git
GIT_TAG 2.6.1
)
set(CPACK_SOURCE_IGNORE_FILES ${sfml_SOURCE_DIR})
# FetchContent_MakeAvailable(sfml)
if(NOT sfml_POPULATED)
FetchContent_Populate(sfml)
add_subdirectory(${sfml_SOURCE_DIR} ${sfml_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
Both CPACK_SOURCE_IGNORE_FILES
and EXCLUDE_FROM_ALL
seem to be required
from sfml.
Yes, that's the correct fix, as proposed for the cmake template here: SFML/cmake-sfml-project#28
from sfml.
I'm closing this, as there's a way to work around it on the consumer end and with OpenAL gone, we have one less issue to worry about.
Feel free to add ideas if you think you know, how we can handle this better on the library side.
from sfml.
Related Issues (20)
- [2.6.1] Drawing to RenderTexture "fails" after Texture copied from (Windows) HOT 3
- Add a CMake guide for static linking the library in MacOS/Linux HOT 1
- `sf::VideoMode::getDesktopMode()` returning the monitor resolution on macOS HOT 2
- Install prefix not honored HOT 3
- Consider changing `sf::Texture::invalidateMipmap()` from private to public HOT 4
- Creating a window when statically linking on macOS causes a crash HOT 2
- MacOS static release HOT 1
- Revert change to `sf::Drawable::draw` signature which made `sf::RenderStates` a const reference, and make it a copy again HOT 10
- (Linux) Window Close Event not triggered with sf::Style None, Titlebar, Resize
- Cannot create DRM context without X server running. HOT 2
- sfml window example crashes due to acess violation on joystick driver ezfrd64.dll HOT 3
- Add support for QOI (Quite OK Image) and QOA (Quite OK Audio) formats HOT 2
- Store angles internally as radians HOT 3
- Graphic glitch when displaying text containing non-breaking spaces HOT 2
- `sf::Text::findCharacterPos()` doesn't report the correct Y location HOT 8
- What are you doing with Event? HOT 6
- `operator*` overload in sf::Vector2<T> and sf::Vector3<T> template class HOT 2
- iOS reports gyroscope rates as deg/s while Android reports radians/s HOT 2
- `sf::err()` is not thread-safe HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfml.