mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 01:12:48 +02:00
include tbb as system include, use project as prefix
This commit is contained in:
parent
973a076f34
commit
71482f6ad7
2 changed files with 3 additions and 1 deletions
|
@ -117,6 +117,8 @@ else ()
|
|||
set(EXTERNALS_BINARY_DIR "${EXTERNALS_BINARY_ROOT_DIR}/${CMAKE_GENERATOR}")
|
||||
endif ()
|
||||
|
||||
set_property(DIRECTORY PROPERTY EP_PREFIX "project")
|
||||
|
||||
file(GLOB HIFI_CUSTOM_MACROS "cmake/macros/*.cmake")
|
||||
foreach(CUSTOM_MACRO ${HIFI_CUSTOM_MACROS})
|
||||
include(${CUSTOM_MACRO})
|
||||
|
|
|
@ -28,7 +28,7 @@ include_directories(SYSTEM "${OPENSSL_INCLUDE_DIR}")
|
|||
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES} ${TBB_LIBRARIES})
|
||||
|
||||
# append tbb includes to our list of includes to bubble
|
||||
target_include_directories(${TARGET_NAME} PUBLIC ${TBB_INCLUDE_DIRS})
|
||||
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${TBB_INCLUDE_DIRS})
|
||||
|
||||
# call macro to include our dependency includes and bubble them up via a property on our target
|
||||
include_dependency_includes()
|
Loading…
Reference in a new issue