-
- Downloads
COMP: Cleanup CMP0022 and CMP0023 warnings
CMake 2.8.12 introduces policies CMP0022 and CMP0023 that trigger warnings in some of VTK's CMake code. Fix them as follows. The result is a cleaner and more explicit link specification anyway. CMP0022 warns when we set the LINK_INTERFACE_LIBRARIES property directly without also setting the newly introduced INTERFACE_LINK_LIBRARIES property directly. Simply drop these settings because they are achieved already by use of the keyword-based target_link_libraries signature. CMP0023 warns when we use both the plain and keyword signatures of the target_link_libraries command for a single target. The module macros use the keyword signature (LINK_PUBLIC/LINK_PRIVATE), so any direct calls to the plain target_link_libraries signature are doing "private" linking. Add the LINK_PRIVATE keyword to such calls to make this explicit and avoid the warning. Change-Id: I1e5bf687733e3f19462da698c0d5e3899439bf02
Showing
- Accelerators/Piston/CMakeLists.txt 2 additions, 2 deletionsAccelerators/Piston/CMakeLists.txt
- CMake/vtkModuleMacros.cmake 1 addition, 1 deletionCMake/vtkModuleMacros.cmake
- Common/Core/CMakeLists.txt 1 addition, 2 deletionsCommon/Core/CMakeLists.txt
- Filters/StatisticsGnuR/CMakeLists.txt 1 addition, 1 deletionFilters/StatisticsGnuR/CMakeLists.txt
- GUISupport/MFC/CMakeLists.txt 1 addition, 1 deletionGUISupport/MFC/CMakeLists.txt
- GUISupport/Qt/CMakeLists.txt 2 additions, 2 deletionsGUISupport/Qt/CMakeLists.txt
- GUISupport/QtOpenGL/CMakeLists.txt 1 addition, 1 deletionGUISupport/QtOpenGL/CMakeLists.txt
- GUISupport/QtSQL/CMakeLists.txt 1 addition, 1 deletionGUISupport/QtSQL/CMakeLists.txt
- GUISupport/QtWebkit/CMakeLists.txt 1 addition, 1 deletionGUISupport/QtWebkit/CMakeLists.txt
- IO/FFMPEG/CMakeLists.txt 1 addition, 1 deletionIO/FFMPEG/CMakeLists.txt
- IO/GDAL/CMakeLists.txt 1 addition, 1 deletionIO/GDAL/CMakeLists.txt
- IO/Movie/CMakeLists.txt 1 addition, 1 deletionIO/Movie/CMakeLists.txt
- IO/MySQL/CMakeLists.txt 1 addition, 1 deletionIO/MySQL/CMakeLists.txt
- IO/NetCDF/CMakeLists.txt 1 addition, 2 deletionsIO/NetCDF/CMakeLists.txt
- IO/ODBC/CMakeLists.txt 1 addition, 1 deletionIO/ODBC/CMakeLists.txt
- IO/PostgreSQL/CMakeLists.txt 1 addition, 1 deletionIO/PostgreSQL/CMakeLists.txt
- IO/Video/CMakeLists.txt 1 addition, 1 deletionIO/Video/CMakeLists.txt
- Infovis/Boost/Testing/Cxx/CMakeLists.txt 1 addition, 1 deletionInfovis/Boost/Testing/Cxx/CMakeLists.txt
- Infovis/Parallel/CMakeLists.txt 1 addition, 1 deletionInfovis/Parallel/CMakeLists.txt
- Rendering/FreeTypeFontConfig/CMakeLists.txt 1 addition, 1 deletionRendering/FreeTypeFontConfig/CMakeLists.txt
Loading
Please register or sign in to comment