Skip to content

Commit

Permalink
Fix sdl3 include path
Browse files Browse the repository at this point in the history
  • Loading branch information
guusw committed Jul 2, 2024
1 parent f0ea586 commit 7889545
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shards/input/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ target_include_directories(input PUBLIC ${CMAKE_CURRENT_LIST_DIR}/..)
target_link_libraries(input linalg spdlog Boost::lockfree)
if(NOT EMSCRIPTEN)
target_link_libraries(input SDL3-static)
else()
target_include_directories(input PUBLIC ${SHARDS_DIR}/deps/SDL3/include)
endif()
target_link_libraries(input gfx) # For window mapping
target_compile_features(input PUBLIC cxx_std_20)
Expand Down

0 comments on commit 7889545

Please sign in to comment.