fix cmake building

This commit is contained in:
williamistGitHub 2024-10-18 17:05:31 -04:00
parent 4e1c4fe98a
commit f58173649b
2 changed files with 5 additions and 3 deletions

View File

@ -18,5 +18,9 @@ add_custom_target(copy_assets ALL
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# global dependency directories
include_directories(../Dependencies/include/)
link_directories(../Dependencies/lib/)
add_subdirectory(vendor/imgui)
add_subdirectory(src)

View File

@ -4,6 +4,4 @@ add_executable(scuffed_mc
Camera.cpp Planet.cpp WorldGen.cpp ../vendor/glad.c
)
include_directories(../../Dependencies/include/)
target_link_libraries(scuffed_mc imgui glfw)
target_link_libraries(scuffed_mc imgui glfw3)