fix running from vs

This commit is contained in:
williamistGitHub 2024-10-18 17:19:44 -04:00
parent f58173649b
commit 34ba20188f

View File

@ -4,4 +4,7 @@ add_executable(scuffed_mc
Camera.cpp Planet.cpp WorldGen.cpp ../vendor/glad.c
)
# make sure the program runs in the right place from visual studio
set_target_properties(scuffed_mc PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/bin")
target_link_libraries(scuffed_mc imgui glfw3)