From cad2f5579b0bc6643543ef66c902265c06dee72e Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 30 Jan 2014 16:19:09 -0500 Subject: [PATCH] strip subdirectory from OPENBR_DIR to ensure it points to the root dir --- share/openbr/cmake/OpenBRConfig.cmake | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/share/openbr/cmake/OpenBRConfig.cmake b/share/openbr/cmake/OpenBRConfig.cmake index f844cfe..03c59fc 100644 --- a/share/openbr/cmake/OpenBRConfig.cmake +++ b/share/openbr/cmake/OpenBRConfig.cmake @@ -8,6 +8,7 @@ # target_link_libraries(MY_TARGET_NAME ${OPENBR_LIBS}) # ================================================================ +string(REPLACE "/share/openbr/cmake" "" OPENBR_DIR ${OPENBR_DIR}) include_directories(${OPENBR_DIR}/include) link_directories(${OPENBR_DIR}/lib) set(OPENBR_LIBS "openbr") -- libgit2 0.21.4