Skip to content

Commit

Permalink
fix linking against bedrock
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Jul 5, 2024
1 parent 0d09c91 commit 6289044
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/bedrock/04_c_module/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
add_library(bedrock-module-a SHARED module.c)
target_link_libraries(bedrock-module-a bedrock-server)
target_link_libraries(bedrock-module-a bedrock::module-api)
2 changes: 1 addition & 1 deletion code/bedrock/05_cpp_module/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
add_library(bedrock-module-b SHARED module.cpp)
target_link_libraries(bedrock-module-b bedrock-server)
target_link_libraries(bedrock-module-b bedrock::module-api)

0 comments on commit 6289044

Please sign in to comment.