Skip to content

Commit 8f003be

Browse files
committed
Properly now linking to cairo wrap.
1 parent 2315dda commit 8f003be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ target_link_libraries(tree-tests gtest)
2929
# Options
3030
if(DRAW_EXAMPLES)
3131
target_compile_definitions(tree-tests PRIVATE -DINTERVAL_TREE_DO_DRAWINGS=1)
32-
find_library(LCAIRO_WRAP NAMES cairo-wrap PATHS "cairo-wrap/build" STATIC)
33-
target_link_libraries(tree-tests LCAIRO_WRAP cairo)
34-
target_include_directories(tree-tests .)
32+
find_library(LCAIRO_WRAP NAMES cairo_wrap PATHS "../../cairo-wrap/build" STATIC)
33+
target_link_libraries(tree-tests ${LCAIRO_WRAP} cairo)
34+
target_include_directories(tree-tests PRIVATE .. ../..)
3535
endif()
3636

3737
# Compiler Options

0 commit comments

Comments
 (0)