Hi,
I am trying to disable the warnings coming from an external dependency
we're referencing in our project. One of the warnings requires
specifying "/ignore:4221" in the Project Properties -> Librarian ->
Command Line in order to suppress it.
I can't for the life of me figure out how to pass that flag in though,
since using SET_TARGET_PROPERTIES (${HDF5_LIB_TARGET} PROPERTIES
LINK_FLAGS "/ignore:4221") doesn't seem to set it. If I try to pass it
via COMPILE_FLAGS on the same target, I get a warning from cl that it is
ignoring an unknown option.
Hints welcome.
Thanks,
Mark
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake