I continually get this issue when configure my CMake project:
CMake Warning (dev) at examples/CMakeLists.txt:74 (ADD_EXECUTABLE):
Policy CMP0063 is not set: Honor visibility properties for all target types. Run "cmake --help-policy CMP0063" for policy details. Use the cmake_policy command to set the policy and suppress this warning.Target "Protonect" of type "EXECUTABLE" has the following visibility
properties set for CXX:CXX_VISIBILITY_PRESET VISIBILITY_INLINES_HIDDEN
For compatibility CMake is not honoring them for this target. This warning is for project developers. Use -Wno-dev to suppress it.
I know I want to call cmake_policy(SET CMP0063 NEW)
- which I'm doing, but then I'm not sure how I'm supposed to use add_executable(Protonect)
.