-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in cppzmqConfig.cmake #3356
Comments
Same issue. Mine is on the Mac. |
This is actually an issue stemming from the original repository: zeromq/cppzmq#209 CMake removed the ability to use the LOCATION property around 3.6 with this usage. It hadn't updated yet. Perhaps a patch can be developed to modify this, although it might be worth waiting for the original repo to fix it. |
zeromq/cppzmq#209 is now fixed. |
Sounds good. I should try this. |
Should be fixed in #4822. Thanks everyone for chiming in! |
Trying to compile a project that uses ZeroMQ and cppzmq with cmake (version 3.11.1) and Visual Studio 2017. I get the following error:
CMake Error at C:/vcpkg/installed/x64-windows/share/cppzmq/cppzmqConfig.cmake:60 (get_target_property):
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "LOCATION" is not allowed.
Call Stack (most recent call first):
C:/vcpkg/scripts/buildsystems/vcpkg.cmake:247 (_find_package)
CMakeLists.txt:28 (find_package)
I ran cmake with the following command:
PS> cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake ..
The text was updated successfully, but these errors were encountered: