Skip to content

Commit

Permalink
Export BAYESMIX_TBB_ROOT to parent scope
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoGiane committed Jan 30, 2024
1 parent 1966595 commit ebe3b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ SET_SOURCE_FILES_PROPERTIES(${PROTO_SRCS} ${PROTO_HDRS} PROPERTIES GENERATED TRU
# Export variables to parent scope if bayesmix is used as dependency library
get_directory_property(HAS_PARENT PARENT_DIRECTORY)
if(HAS_PARENT)
set(BAYESMIX_TBB_ROOT ${TBB_ROOT} PARENT_SCOPE)
set(BAYESMIX_INCLUDE_PATHS ${INCLUDE_PATHS} PARENT_SCOPE)
set(BAYESMIX_LINK_LIBRARIES ${LINK_LIBRARIES} PARENT_SCOPE)
set(BAYESMIX_COMPILE_OPTIONS ${COMPILE_OPTIONS} PARENT_SCOPE)
Expand Down

0 comments on commit ebe3b0d

Please sign in to comment.