fuzzywuzzy
fuzzywuzzy copied to clipboard
Fix build and project structure
When Im tried to link with target that was failed because include file. So I fix target include files and CMakeLists.txt files that brought chaos to main project. Like include_directories, or set(CMAKE_RUNTIME_OUTPUT_DIRECTORY), or build test when i dont need it.
When Im tried to link with target that was failed because include file
What do you mean? I've had no issues using the library via add_subdirectory(path/to/fuzzywuzzy) & target_link_library(... fuzzywuzzy). Perhaps notable is that I include the library as a system-wide header, e.g. #include <fuzzywuzzy.hpp>.
I created example project that failed when build. There are instructions to reproduce and fix it: https://github.com/backdround/fuzzywuzzy_include_problem