Skip to content

Commit 1dafd8c

Browse files
committed
Set VS startup project correctly
1 parent 2b5ef71 commit 1dafd8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ FetchContent_MakeAvailable(SFML)
1515
add_executable(main src/main.cpp)
1616
target_compile_features(main PRIVATE cxx_std_17)
1717
target_link_libraries(main PRIVATE SFML::Graphics)
18+
19+
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT main)

0 commit comments

Comments
 (0)