Skip to content

Commit

Permalink
fix some configure errors
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 authored and ab9rf committed Jan 1, 2025
1 parent c5d9dbf commit af802e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion depends/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ add_subdirectory(lodepng)
add_subdirectory(lua)
add_subdirectory(md5)
add_subdirectory(protobuf)
target_include_directories(protobuf INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/protobuf)
target_include_directories(protobuf-lite INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/protobuf)

if(UNIX)
Expand Down
4 changes: 3 additions & 1 deletion plugins/remotefortressreader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ endif()

# this makes sure all the stuff is put in proper places and linked to dfhack
dfhack_plugin(RemoteFortressReader ${PROJECT_SRCS} LINK_LIBRARIES ${PROJECT_LIBS} PROTOBUFS ${PROJECT_PROTO})
target_include_directories(RemoteFortressReader PRIVATE ${SDL2_INCLUDE_DIRS})
if(BUILD_PLUGINS)
target_include_directories(RemoteFortressReader PRIVATE ${SDL2_INCLUDE_DIRS})
endif()

0 comments on commit af802e2

Please sign in to comment.