Commit 64f49710 authored by Stefan Bodenschatz's avatar Stefan Bodenschatz
Browse files

Only set VS_STARTUP_PROJECT if demo is built.

parent 9493f79d
......@@ -25,6 +25,6 @@ endif()
add_subdirectory(dependencies)
add_subdirectory(src)
if(MSVC_IDE)
if(MSVC_IDE AND MIRRAGE_BUILD_DEMO)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT demo)
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment