summaryrefslogtreecommitdiffstats
path: root/Modules/FindJPEG.cmake
diff options
context:
space:
mode:
authorAndrey Karpov <ndk@yandex.ru>2018-06-20 09:41:11 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-21 14:47:03 (GMT)
commitae4a548302bf029fc7393dfbcd25d51746845127 (patch)
tree5a6e9219c9242ad69aa1fd1b445b4a810e0ee9d4 /Modules/FindJPEG.cmake
parent7876f329a95c361bae2805ad8117e62f4e0b65e1 (diff)
downloadCMake-ae4a548302bf029fc7393dfbcd25d51746845127.zip
CMake-ae4a548302bf029fc7393dfbcd25d51746845127.tar.gz
CMake-ae4a548302bf029fc7393dfbcd25d51746845127.tar.bz2
FindJPEG: Drop ancient compatibility NATIVE_JPEG_* result variables
These have been deprecated since 2002!
Diffstat (limited to 'Modules/FindJPEG.cmake')
-rw-r--r--Modules/FindJPEG.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake
index 710188e..7290724 100644
--- a/Modules/FindJPEG.cmake
+++ b/Modules/FindJPEG.cmake
@@ -122,10 +122,4 @@ if(JPEG_FOUND)
endif()
endif()
-# Deprecated declarations.
-set(NATIVE_JPEG_INCLUDE_PATH ${JPEG_INCLUDE_DIR})
-if(JPEG_LIBRARY)
- get_filename_component(NATIVE_JPEG_LIB_PATH ${JPEG_LIBRARY} PATH)
-endif()
-
mark_as_advanced(JPEG_LIBRARY JPEG_INCLUDE_DIR)