mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 10:46:33 +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}")
|
set(EXTERNALS_BINARY_DIR "${EXTERNALS_BINARY_ROOT_DIR}/${CMAKE_GENERATOR}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set_property(DIRECTORY PROPERTY EP_PREFIX "project")
|
||||||
|
|
||||||
file(GLOB HIFI_CUSTOM_MACROS "cmake/macros/*.cmake")
|
file(GLOB HIFI_CUSTOM_MACROS "cmake/macros/*.cmake")
|
||||||
foreach(CUSTOM_MACRO ${HIFI_CUSTOM_MACROS})
|
foreach(CUSTOM_MACRO ${HIFI_CUSTOM_MACROS})
|
||||||
include(${CUSTOM_MACRO})
|
include(${CUSTOM_MACRO})
|
||||||
|
|
|
@ -28,7 +28,7 @@ include_directories(SYSTEM "${OPENSSL_INCLUDE_DIR}")
|
||||||
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES} ${TBB_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${OPENSSL_LIBRARIES} ${TBB_LIBRARIES})
|
||||||
|
|
||||||
# append tbb includes to our list of includes to bubble
|
# 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
|
# call macro to include our dependency includes and bubble them up via a property on our target
|
||||||
include_dependency_includes()
|
include_dependency_includes()
|
Loading…
Reference in a new issue