DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
629 stars 171 forks source link

fix: prevent building in a folder which contains spaces #1583

Closed EmosewaMC closed 2 months ago

EmosewaMC commented 2 months ago

workaround for #815

Good enough for now. Tested that the inverse logic if(NOT "${CMAKE_SOURCE_DIR}" MATCHES " ") fails to build in a path without spaces.