Open K20shores opened 3 months ago
Seems like populating sfml by hand would all EXCLUDE_FROM_ALL
to be added to the add_subdirectory
call, but for some reason I can't get it work.
# FetchContent_MakeAvailable(SFML)
FetchContent_GetProperties(SFML)
message(STATUS "SFML source dir: ${SFML_SOURCE_DIR}")
message(STATUS "SFML binary dir: ${SFML_BINARY_DIR}")
for me this produces empty values for the source and binary directory so I can't add the subdirectories
See also #28
The default installation includes all of the SFML development information. I'm
On ubuntu this gives me
Which, yes, with admin privileges would work. But also that would be installing SFML and not the binary. You can make this go away by specifying an install prefix
cmake -DCMAKE_INSTALL_PREFIX=install ..
but then you're still installing the SFML stuff.Is that expected? If not, how can I prevent that from happening?