Skip to content

Commit

Permalink
Fix ImGui cmake file for SDL include path
Browse files Browse the repository at this point in the history
  • Loading branch information
dartfnm committed Oct 9, 2024
1 parent a4c447d commit fcac9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/dear_imgui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/backends)
# Create static library
add_library(imgui STATIC ${IMGUI_SOURCES})

if (APPLE OR LINUX)
if (APPLE OR LINUX OR UNIX)
target_link_libraries(imgui PRIVATE ${SDL2_LIBRARIES})
else()
target_include_directories(imgui PRIVATE "${CMAKE_SOURCE_DIR}/external/sdl2/include")
Expand Down

0 comments on commit fcac9a2

Please sign in to comment.