Commit fe6bd1bf authored by Lotrado's avatar Lotrado
Browse files

Use MSVC_IDE instead of MSVC as conditions for Visual Studio-specific code.

parent 27b34d20
......@@ -25,6 +25,6 @@ endif()
add_subdirectory(dependencies)
add_subdirectory(src)
if(MSVC)
if(MSVC_IDE)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT demo)
endif()
......@@ -56,6 +56,6 @@ if(COMMAND cotire)
cotire(demo)
endif()
if(MSVC)
if(MSVC_IDE)
set_property(TARGET demo PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${MIRRAGE_ROOT_DIR}/assets")
endif()
Supports Markdown
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