I am starting to get lots of the following warnings when configuring our project:
CMake Warning at /opt/local/vcpkg/scripts/buildsystems/vcpkg.cmake:649 (_add_library):
Cannot generate a safe runtime search path for target NXComponents because
there is a cycle in the constraint graph:
dir 0 is [/Users/Shared/NX_SDK/Qt/6.9.2/macos/lib]
dir 1 is [/Users/mjackson/Workspace1/DREAM3D-Build/NX-Com-Qt69-Vtk95-Rel/Bin]
dir 2 must precede it due to runtime library [libEbsdLib.dylib]
dir 2 is [/Users/mjackson/Workspace1/vcpkg-installed/arm64-osx-v11/lib]
dir 1 must precede it due to runtime library [libEbsdLib.dylib]
dir 3 is [/opt/local/anaconda3/envs/dream3d/lib]
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
src/NXComponents/CMakeLists.txt:13 (add_library)
We use vcpkg for all of our dependencies except Qt 6 and VTK 9.5.2
EbsdLib is our own library but is compiled through vcpkg. We keep our own vcpkg registry up on GitHub.
EbsdLib has a dependency on HDF5 and TBB (which are both satisfied through vcpkg).
I am just not really sure what I should do to fix these warnings? They were popping up for a few targets but now I am getting the warning for almost every target in our project.
We are using CMake 3.30.3
Any help or pointers would be greatly appreciated.