fix cmake building
This commit is contained in:
parent
4e1c4fe98a
commit
f58173649b
@ -18,5 +18,9 @@ add_custom_target(copy_assets ALL
|
|||||||
|
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
|
# global dependency directories
|
||||||
|
include_directories(../Dependencies/include/)
|
||||||
|
link_directories(../Dependencies/lib/)
|
||||||
|
|
||||||
add_subdirectory(vendor/imgui)
|
add_subdirectory(vendor/imgui)
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
@ -4,6 +4,4 @@ add_executable(scuffed_mc
|
|||||||
Camera.cpp Planet.cpp WorldGen.cpp ../vendor/glad.c
|
Camera.cpp Planet.cpp WorldGen.cpp ../vendor/glad.c
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(../../Dependencies/include/)
|
target_link_libraries(scuffed_mc imgui glfw3)
|
||||||
|
|
||||||
target_link_libraries(scuffed_mc imgui glfw)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user