diff options
Diffstat (limited to 'Modules/FindJPEG.cmake')
-rw-r--r-- | Modules/FindJPEG.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index 9b0d8f48a3..7c1f0fd947 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -32,12 +32,12 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG DEFAULT_MSG JPEG_LIBRARY JPEG_INCLUDE_DIR if(JPEG_FOUND) set(JPEG_LIBRARIES ${JPEG_LIBRARY}) -endif(JPEG_FOUND) +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(JPEG_LIBRARY) +endif() mark_as_advanced(JPEG_LIBRARY JPEG_INCLUDE_DIR ) |