diff options
author | bunnei <bunneidev@gmail.com> | 2015-09-10 21:08:29 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-09-10 21:08:29 +0200 |
commit | 299a4ecd3ef7f10de46826545d143c0f69841efe (patch) | |
tree | 3a4ef5cc63bf72918bd130a89d71566e9c5d04ad | |
parent | Merge pull request #1133 from lioncash/emplace-back (diff) | |
parent | CMake: Make all cache options appear even in case of errors (diff) | |
download | yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar.gz yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar.bz2 yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar.lz yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar.xz yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.tar.zst yuzu-299a4ecd3ef7f10de46826545d143c0f69841efe.zip |
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bf2df504..fa6463b01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,6 +35,13 @@ endfunction() project(citra) +option(ENABLE_GLFW "Enable the GLFW frontend" ON) +option(CITRA_USE_BUNDLED_GLFW "Download bundled GLFW binaries" OFF) + +option(ENABLE_QT "Enable the Qt frontend" ON) +option(CITRA_USE_BUNDLED_QT "Download bundled Qt binaries" OFF) +option(CITRA_FORCE_QT4 "Use Qt4 even if Qt5 is available." OFF) + if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/hooks/pre-commit) message(STATUS "Copying pre-commit hook") file(COPY hooks/pre-commit @@ -129,8 +136,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/externals/cmake-modules") find_package(OpenGL REQUIRED) include_directories(${OPENGL_INCLUDE_DIR}) -option(ENABLE_GLFW "Enable the GLFW frontend" ON) -option(CITRA_USE_BUNDLED_GLFW "Download bundled GLFW binaries" OFF) if (ENABLE_GLFW) if (CITRA_USE_BUNDLED_GLFW) # Detect toolchain and platform @@ -176,9 +181,6 @@ ELSE() set(PLATFORM_LIBRARIES rt) ENDIF (APPLE) -option(ENABLE_QT "Enable the Qt frontend" ON) -option(CITRA_USE_BUNDLED_QT "Download bundled Qt binaries" OFF) -option(CITRA_FORCE_QT4 "Use Qt4 even if Qt5 is available." OFF) if (ENABLE_QT) if (CITRA_USE_BUNDLED_QT) if (MSVC14 AND ARCHITECTURE_x86_64) |