Skip to content

Commit

Permalink
Add foundation_classes as a link library for class_adapter.
Browse files Browse the repository at this point in the history
TextShape::BoundingBox(Point&, Point&) in TextShape.cpp from the
class_adapter library uses the Point class, so we must have a library
dependency on the foundation_classes library.
  • Loading branch information
BartVandewoestyne committed Feb 12, 2024
1 parent d9e5082 commit 3fa70ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Structural_Patterns/Adapter/class_adapter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_library(class_adapter SHARED TextShape.cpp)

target_include_directories(class_adapter PRIVATE .. ../../../Foundation_Classes)
target_link_libraries(class_adapter PRIVATE adapter)
target_link_libraries(class_adapter PRIVATE adapter foundation_classes)

0 comments on commit 3fa70ae

Please sign in to comment.