diff --git a/src/Math/Geometry/CMakeLists.txt b/src/Math/Geometry/CMakeLists.txt index ad0e92d5e..fafc17d75 100644 --- a/src/Math/Geometry/CMakeLists.txt +++ b/src/Math/Geometry/CMakeLists.txt @@ -26,14 +26,14 @@ set(MagnumMathGeometry_HEADERS Distance.h Intersection.h) -install(FILES ${MagnumMathGeometry_HEADERS} DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/Math/Geometry) - # Deprecated headers if(BUILD_DEPRECATED) set(MagnumMathGeometry_HEADERS ${MagnumMathGeometry_HEADERS} Rectangle.h) endif() +install(FILES ${MagnumMathGeometry_HEADERS} DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/Math/Geometry) + if(BUILD_TESTS) add_subdirectory(Test) endif()