Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Setup CMake to build for macOS
[xestiaab/.git] / source / CMakeFunctions / Options.cmake
index 5801a3b..017958a 100644 (file)
@@ -1,3 +1,11 @@
 include(CMakeDependentOption)
 
 option(XestiaAddressBook_UNIT_TESTING  "Enable unit testing"  OFF)
+
+if(APPLE)
+    set(SFML_FRAMEWORKS_LOCATION "" CACHE PATH "Location for the SFML framework dependencies.")
+
+    if(NOT EXISTS ${SFML_FRAMEWORKS_LOCATION})
+        message(FATAL_ERROR "The location given by SFML_FRAMEWORKS_LOCATION does not exist.")
+    endif()
+endif()
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy