Fix cmake #7

Merged
williamistGitHub merged 4 commits from fix-cmake into main 2024-10-18 22:58:58 +00:00
Showing only changes of commit 6c3f2ddd84 - Show all commits

View File

@ -7,4 +7,4 @@ add_executable(scuffed_mc
# make sure the program runs in the right place from visual studio # 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") set_target_properties(scuffed_mc PROPERTIES VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/bin")
target_link_libraries(scuffed_mc imgui glfw3) target_link_libraries(scuffed_mc imgui $<IF:$<PLATFORM_ID:Windows>,glfw3,glfw>)