|
@ -565,9 +565,6 @@ endif() |
|
|
## |
|
|
## |
|
|
############################################################# |
|
|
############################################################# |
|
|
|
|
|
|
|
|
set(gtest_force_shared_crt ON) |
|
|
|
|
|
add_subdirectory("${PROJECT_SOURCE_DIR}/resources/3rdparty/gtest-1.7.0") |
|
|
|
|
|
|
|
|
|
|
|
############################################################# |
|
|
############################################################# |
|
|
## |
|
|
## |
|
|
## Log4CPlus |
|
|
## Log4CPlus |
|
@ -597,20 +594,16 @@ set(TBB_INSTALL_DIR "${PROJECT_SOURCE_DIR}/resources/3rdparty/tbb42_20140122_mer |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
find_package(TBB) |
|
|
find_package(TBB) |
|
|
if (TBB_FOUND AND STORM_USE_INTELTBB) |
|
|
|
|
|
link_directories(${TBB_LIBRARY_DIRS}) |
|
|
|
|
|
set(STORM_CPP_INTELTBB_DEF "define") |
|
|
|
|
|
else() |
|
|
|
|
|
set(STORM_CPP_INTELTBB_DEF "undef") |
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(STORM_HAVE_INTELTBB 0) |
|
|
if (TBB_FOUND) |
|
|
if (TBB_FOUND) |
|
|
message(STATUS "StoRM - Found Intel TBB with interface version ${TBB_INTERFACE_VERSION}.") |
|
|
message(STATUS "StoRM - Found Intel TBB with interface version ${TBB_INTERFACE_VERSION}.") |
|
|
if (STORM_USE_INTELTBB) |
|
|
if (STORM_USE_INTELTBB) |
|
|
|
|
|
set(STORM_HAVE_INTELTBB 1) |
|
|
message(STATUS "StoRM - Linking with Intel TBB in ${TBB_LIBRARY_DIRS}.") |
|
|
message(STATUS "StoRM - Linking with Intel TBB in ${TBB_LIBRARY_DIRS}.") |
|
|
|
|
|
link_directories(${TBB_LIBRARY_DIRS}) |
|
|
include_directories(${TBB_INCLUDE_DIRS}) |
|
|
include_directories(${TBB_INCLUDE_DIRS}) |
|
|
target_link_libraries(storm tbb tbbmalloc) |
|
|
|
|
|
|
|
|
list(APPEND STORM_LINK_LIBRARIES tbb tbbmalloc) |
|
|
endif(STORM_USE_INTELTBB) |
|
|
endif(STORM_USE_INTELTBB) |
|
|
endif(TBB_FOUND) |
|
|
endif(TBB_FOUND) |
|
|
|
|
|
|
|
|