File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if( WIN32 )
29
29
set (SYSTEM_BIT "ia32" )
30
30
endif ()
31
31
32
- file ( GLOB TBB_PRE_LIB "${tbb_root} /lib /${SYSTEM_BIT} /vc14/*.lib " )
32
+ file ( GLOB TBB_PRE_LIB "${tbb_root} /bin /${SYSTEM_BIT} /vc14/*.dll " )
33
33
file ( COPY ${TBB_PRE_LIB} DESTINATION "${CMAKE_BINARY_DIR} /bin" )
34
34
35
35
find_package ( TBB )
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ message( STATUS "-- " ${PROJECT_NAME} )
4
4
add_executable ( ${PROJECT_NAME} main.cpp )
5
5
6
6
if ( WIN32 )
7
- file ( GLOB TBB_PRE_LIB "${tbb_root} /lib/${SYSTEM_BIT} /vc14/*.lib" )
8
- target_link_libraries (${PROJECT_NAME} ${TBB_IMPORTED_TARGETS} ${TBB_PRE_LIB} )
7
+ target_link_libraries (${PROJECT_NAME} ${TBB_IMPORTED_TARGETS} )
9
8
else ( WIN32 )
10
9
target_link_libraries (${PROJECT_NAME} ${TBB_LIBRARIES} )
11
10
endif ( WIN32 )
You can’t perform that action at this time.
0 commit comments