diff --git a/CMakeLists.txt b/CMakeLists.txt index 46de712f6..2797d182e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -384,6 +384,13 @@ add_subdirectory(src) add_subdirectory(dist/installer) +# Set citra-qt project or citra 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 citra-qt) +else() + set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT citra) +endif() + # Installation instructions # =========================