From 1dafd8c5edc87d12257f0a35fee43f97d7532538 Mon Sep 17 00:00:00 2001 From: Jonny Paton Date: Wed, 10 Sep 2025 18:36:29 +0100 Subject: [PATCH] Set VS startup project correctly --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a38747b..98a830e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,3 +15,5 @@ FetchContent_MakeAvailable(SFML) add_executable(main src/main.cpp) target_compile_features(main PRIVATE cxx_std_17) target_link_libraries(main PRIVATE SFML::Graphics) + +set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT main) \ No newline at end of file