@ -3,14 +3,17 @@ cmake_minimum_required(VERSION 3.6)
list ( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
list ( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules" )
list ( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules" )
list ( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules" )
include ( DownloadExternals )
include ( DownloadExternals )
include ( CMakeDependentOption )
project ( yuzu )
project ( yuzu )
# S e t b u n d l e d s d l 2 / q t a s d e p e n d e n t o p t i o n s .
# O F F b y d e f a u l t , b u t i f E N A B L E _ S D L 2 a n d MSVC a r e t r u e t h e n O N
option ( ENABLE_SDL2 "Enable the SDL2 frontend" ON )
option ( ENABLE_SDL2 "Enable the SDL2 frontend" ON )
option ( YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries" OFF )
CMAKE_DEPENDENT_OPTION ( YUZU_USE_BUNDLED_SDL2 "Download bundled SDL2 binaries " ON "ENABLE_SDL2;MSVC " OFF )
option ( ENABLE_QT "Enable the Qt frontend" ON )
option ( ENABLE_QT "Enable the Qt frontend" ON )
option ( YUZU_USE_BUNDLED_QT "Download bundled Qt binaries " OFF )
CMAKE_DEPENDENT_OPTION ( YUZU_USE_BUNDLED_QT "Download bundled Qt binaries " ON "ENABLE_SDL2;MSVC " OFF )
if ( NOT EXISTS ${ CMAKE_SOURCE_DIR } /.git/hooks/pre-commit )
if ( NOT EXISTS ${ CMAKE_SOURCE_DIR } /.git/hooks/pre-commit )
message ( STATUS "Copying pre-commit hook" )
message ( STATUS "Copying pre-commit hook" )