Build: print TBB ON/OFF state on first configure, cleanup old TBB logic
This commit is contained in:
@@ -1739,6 +1739,7 @@ if(FIRST_RUN)
|
|||||||
info_cfg_option(WITH_ALEMBIC)
|
info_cfg_option(WITH_ALEMBIC)
|
||||||
info_cfg_option(WITH_QUADRIFLOW)
|
info_cfg_option(WITH_QUADRIFLOW)
|
||||||
info_cfg_option(WITH_USD)
|
info_cfg_option(WITH_USD)
|
||||||
|
info_cfg_option(WITH_TBB)
|
||||||
|
|
||||||
info_cfg_text("Compiler Options:")
|
info_cfg_text("Compiler Options:")
|
||||||
info_cfg_option(WITH_BUILDINFO)
|
info_cfg_option(WITH_BUILDINFO)
|
||||||
|
@@ -672,17 +672,6 @@ if(WITH_QUADRIFLOW)
|
|||||||
add_definitions(-DWITH_QUADRIFLOW)
|
add_definitions(-DWITH_QUADRIFLOW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_TBB)
|
|
||||||
add_definitions(-DWITH_TBB)
|
|
||||||
|
|
||||||
list(APPEND INC_SYS
|
|
||||||
${TBB_INCLUDE_DIRS}
|
|
||||||
)
|
|
||||||
list(APPEND LIB
|
|
||||||
${TBB_LIBRARIES}
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(WITH_XR_OPENXR)
|
if(WITH_XR_OPENXR)
|
||||||
add_definitions(-DWITH_XR_OPENXR)
|
add_definitions(-DWITH_XR_OPENXR)
|
||||||
endif()
|
endif()
|
||||||
|
@@ -286,6 +286,10 @@ if(WITH_TBB)
|
|||||||
list(APPEND INC_SYS
|
list(APPEND INC_SYS
|
||||||
${TBB_INCLUDE_DIRS}
|
${TBB_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
list(APPEND LIB
|
||||||
|
${TBB_LIBRARIES}
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
Reference in New Issue
Block a user