Skip to content

Commit

Permalink
feat: add deepdetect version to config variables for external projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Bycob authored and mergify[bot] committed Jul 28, 2022
1 parent 7c7d132 commit be79e54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/DeepDetectConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ if (NOT USE_CPU_ONLY)
include(@PROJECT_SOURCE_DIR@/cmake/Cuda.cmake) # cuda + cudnn
endif()

set(DeepDetect_VERSION @GIT_VERSION@)
set(DeepDetect_COMMIT_HASH @GIT_COMMIT_HASH@)
set(DeepDetect_BRANCH @GIT_BRANCH@)
set(DeepDetect_CXX_FLAGS "-fopenmp -pthread")
set(DeepDetect_DEFINITIONS @COMMON_DEFINITIONS@)
set(DeepDetect_INCLUDE_DIRS @PROJECT_SOURCE_DIR@/src @CMAKE_BINARY_DIR@/src @CMAKE_BINARY_DIR@ @COMMON_INCLUDE_DIRS@ @EIGEN3_INCLUDE_DIR@)
Expand Down

0 comments on commit be79e54

Please sign in to comment.