Open Dawars opened 3 years ago
Hi, Great CMake file, it's easily readable! I modified it to enable using it as a library from code using add_subdirectory.
I replaced include_directories with target_include_directories.
Example use:
add_subdirectory(libs/magsac)
target_link_libraries(YourProgram PUBLIC MAGSAC GraphCutRANSAC)
Hi, Great CMake file, it's easily readable! I modified it to enable using it as a library from code using add_subdirectory.
I replaced include_directories with target_include_directories.
Example use:
target_link_libraries(YourProgram PUBLIC MAGSAC GraphCutRANSAC)