Closed glebm closed 3 years ago
You still need the directories. But I think it's supposed to be target_link_directories
nowadays instead of link_directories
? Should probably be placed right above the existing target_link_libraries
.
But I think that requires raising minimum cmake version from 3.8 to 3.13.
Fixed, we don't need link_directories
after all :)
link_directories
is unnecessary, CMake's targets take care of the correct linking.