-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
Hello, i am new to cmake and tbb, so i ask the question...
I git clone this repo, and build it with vscode cmake on Windows successfully:

it generates a lot of files in build directory, i found the library locate in the Release subdirectory:

Then i add following lines in my project's CMakeLists.txt:
include_directories("D:/Dependency/tbb/include")
add_library (tbb_lib STATIC IMPORTED)
set_target_properties( tbb_lib PROPERTIES IMPORTED_LOCATION "D:/Dependency/tbb/build/Release/tbb.lib" )
cmake tells me LINK : fatal error LNK1104: cannot open file 'tbb.lib'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels