Closed cbyrohl closed 2 years ago
I use voro++ in a CMake project via something like
FetchContent_Declare( VORO GIT_REPOSITORY https://github.com/cbyrohl/voro) FetchContent_MakeAvailable(VORO) target_link_libraries(PROJECT PRIVATE voro++)
In certain cases, such as building all tests, including those from voro++, the voro++.hh cannot be found. This seems to be fixed by adjusting CMAKE_SOURCE_DIR => CMAKE_CURRENT_SOURCE_DIR.
I use voro++ in a CMake project via something like
In certain cases, such as building all tests, including those from voro++, the voro++.hh cannot be found. This seems to be fixed by adjusting CMAKE_SOURCE_DIR => CMAKE_CURRENT_SOURCE_DIR.