Commit cad2f5579b0bc6643543ef66c902265c06dee72e
1 parent
e7b35d97
strip subdirectory from OPENBR_DIR to ensure it points to the root dir
Showing
1 changed file
with
1 additions
and
0 deletions
share/openbr/cmake/OpenBRConfig.cmake
| ... | ... | @@ -8,6 +8,7 @@ |
| 8 | 8 | # target_link_libraries(MY_TARGET_NAME ${OPENBR_LIBS}) |
| 9 | 9 | # ================================================================ |
| 10 | 10 | |
| 11 | +string(REPLACE "/share/openbr/cmake" "" OPENBR_DIR ${OPENBR_DIR}) | |
| 11 | 12 | include_directories(${OPENBR_DIR}/include) |
| 12 | 13 | link_directories(${OPENBR_DIR}/lib) |
| 13 | 14 | set(OPENBR_LIBS "openbr") | ... | ... |