diff options
| author | 2018-09-22 12:24:02 +0200 | |
|---|---|---|
| committer | 2018-09-22 12:24:02 +0200 | |
| commit | f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243 (patch) | |
| tree | 479407ebc90d0fbf0d0ad5d3876115f7999634fb | |
| parent | Merge pull request #1380 from lioncash/const (diff) | |
| download | yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.gz yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.tar.xz yuzu-f90b75cc4c842f1cbbb4ad1f284d5f30e8e24243.zip | |
Port citra-emu/citra#4214: "Set citra-qt project as default StartUp Project in Visual Studio"
| -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() | |||
| 440 | add_subdirectory(externals) | 440 | add_subdirectory(externals) |
| 441 | add_subdirectory(src) | 441 | add_subdirectory(src) |
| 442 | 442 | ||
| 443 | # Set yuzu project as default StartUp Project in Visual Studio | 443 | # Set yuzu project or yuzu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not |
| 444 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu) | 444 | if(ENABLE_QT) |
| 445 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu) | ||
| 446 | else() | ||
| 447 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu-cmd) | ||
| 448 | endif() | ||
| 445 | 449 | ||
| 446 | 450 | ||
| 447 | # Installation instructions | 451 | # Installation instructions |