diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-23 23:49:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 23:49:27 +0200 |
commit | 5d9f001bb5371e4ef76ef13dba8578732341ad20 (patch) | |
tree | 64f5670579de3c2d55a05f868cd834c580bc15d1 | |
parent | Merge pull request #1391 from ogniK5377/GetAudioRendererState (diff) | |
parent | Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio" (diff) | |
download | yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar.gz yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar.bz2 yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar.lz yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar.xz yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.tar.zst yuzu-5d9f001bb5371e4ef76ef13dba8578732341ad20.zip |
-rw-r--r-- | CMakeLists.txt | 8 |
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 |