summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2018-09-22 12:24:02 +0200
committerfearlessTobi <thm.frey@gmail.com>2018-09-22 12:24:02 +0200
commitf90b75cc4c842f1cbbb4ad1f284d5f30e8e24243 (patch)
tree479407ebc90d0fbf0d0ad5d3876115f7999634fb
parentMerge pull request #1380 from lioncash/const (diff)
downloadyuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.gz
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.bz2
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.lz
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.xz
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.zst
yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.zip
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30642edd7..25c5cb112 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -440,8 +440,12 @@ enable_testing()
add_subdirectory(externals)
add_subdirectory(src)
-# Set yuzu project as default StartUp Project in Visual Studio
-set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu)
+# Set yuzu project or yuzu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not
+if(ENABLE_QT)
+ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu)
+else()
+ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu-cmd)
+endif()
# Installation instructions