Skip to content

Commit

Permalink
Remove deprecated and modules that are already in upstream CMake (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Apr 7, 2022
1 parent b4bef08 commit 478fd94
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 233 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Removed
* Removed `FindEigen3.cmake` module (https://github.com/robotology/ycm/pull/399).
* Removed `FindGSL.cmake`, `FindGLUT.cmake`, `FindOpenGL.cmake` and `YCMDefaultDirs.cmake`. The first three are available in CMake, while the last one has been deprecated for a long time (https://github.com/robotology/ycm/pull/401).

## [Unreleased Patch]

Expand Down
8 changes: 4 additions & 4 deletions deprecated/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ mark_as_advanced(YARP_NO_DEPRECATED)
# Deprecated modules installed for compatibility
if(NOT YCM_NO_DEPRECATED)
set(YCM_DEPRECATED_FILES
FindGLUT.cmake
YCMDefaultDirs.cmake
)
_ycm_install(deprecated FILES ${YCM_DEPRECATED_FILES}
DESTINATION "${YCM_INSTALL_MODULE_DIR}/deprecated")
if(YCM_DEPRECATED_FILES)
_ycm_install(deprecated FILES ${YCM_DEPRECATED_FILES}
DESTINATION "${YCM_INSTALL_MODULE_DIR}/deprecated")
endif()

# Print a warning if we are overriding some module from CMake
foreach(_module IN LISTS YCM_DEPRECATED_FILES)
Expand Down
37 changes: 0 additions & 37 deletions deprecated/FindGLUT.cmake

This file was deleted.

27 changes: 0 additions & 27 deletions deprecated/YCMDefaultDirs.cmake

This file was deleted.

2 changes: 0 additions & 2 deletions find-modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ set(YCM_FIND_MODULES FindACE.cmake
FindGLM.cmake
FindGooCanvas.cmake
FindGooCanvasMM.cmake
FindGSL.cmake
FindGtkDatabox.cmake
FindGtkDataboxMM.cmake
FindI2C.cmake
Expand All @@ -29,7 +28,6 @@ set(YCM_FIND_MODULES FindACE.cmake
FindNVIDIACg.cmake
FindODE.cmake
FindOpenCV.cmake
FindOpenGL.cmake
FindOpenNI.cmake
FindOpenNI2.cmake
FindPLXCANAPI.cmake
Expand Down
121 changes: 0 additions & 121 deletions find-modules/FindGSL.cmake

This file was deleted.

42 changes: 0 additions & 42 deletions find-modules/FindOpenGL.cmake

This file was deleted.

0 comments on commit 478fd94

Please sign in to comment.