fix running from vs

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

View File

@ -2,6 +2,9 @@ add_executable(scuffed_mc
Application.cpp Chunk.cpp Shader.cpp
Block.cpp NoiseSettings.cpp SurfaceFeature.cpp
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)