From 252fdcdd1eb4a42df4f38cec6de181905d967cba Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Mon, 27 Aug 2018 18:42:27 -0400 Subject: [PATCH] Collab with RouterGray to set Startup project automatically via CMake. Also thanks to Alchemy, we think. --- indra/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index 59735a520..06e06f274 100644 --- a/indra/CMakeLists.txt +++ b/indra/CMakeLists.txt @@ -58,5 +58,8 @@ add_subdirectory(${LIBS_OPEN_PREFIX}plugins) add_subdirectory(${VIEWER_PREFIX}newview/statemachine) add_subdirectory(${VIEWER_PREFIX}newview) -add_dependencies(viewer singularity-bin) +add_dependencies(viewer ${VIEWER_BRANDING_ID}-bin) +if (WINDOWS) + set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${VIEWER_BRANDING_ID}-bin) +endif (WINDOWS)