diff options
author | Mateusz Loskot <mateusz@loskot.net> | 2018-04-17 19:43:07 (GMT) |
---|---|---|
committer | Mateusz Loskot <mateusz@loskot.net> | 2018-04-17 19:43:07 (GMT) |
commit | e70da3f0f3fe2f4373152953ba9822ce0f368cf5 (patch) | |
tree | 9667008b70b14f490a53bd1c8f1e0ab02537b148 /Modules | |
parent | 80d49468de07d194576ead24ff6f2999e1fe32e6 (diff) | |
download | CMake-e70da3f0f3fe2f4373152953ba9822ce0f368cf5.zip CMake-e70da3f0f3fe2f4373152953ba9822ce0f368cf5.tar.gz CMake-e70da3f0f3fe2f4373152953ba9822ce0f368cf5.tar.bz2 |
FindJPEG: Clean up whitepaces and lowercase function names
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindJPEG.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index e233714..a9e6396 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -24,19 +24,19 @@ find_path(JPEG_INCLUDE_DIR jpeglib.h) set(JPEG_NAMES ${JPEG_NAMES} jpeg libjpeg) -find_library(JPEG_LIBRARY NAMES ${JPEG_NAMES} ) +find_library(JPEG_LIBRARY NAMES ${JPEG_NAMES}) include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(JPEG DEFAULT_MSG JPEG_LIBRARY JPEG_INCLUDE_DIR) +find_package_handle_standard_args(JPEG DEFAULT_MSG JPEG_LIBRARY JPEG_INCLUDE_DIR) if(JPEG_FOUND) set(JPEG_LIBRARIES ${JPEG_LIBRARY}) endif() # Deprecated declarations. -set (NATIVE_JPEG_INCLUDE_PATH ${JPEG_INCLUDE_DIR} ) +set(NATIVE_JPEG_INCLUDE_PATH ${JPEG_INCLUDE_DIR}) if(JPEG_LIBRARY) - get_filename_component (NATIVE_JPEG_LIB_PATH ${JPEG_LIBRARY} PATH) + get_filename_component(NATIVE_JPEG_LIB_PATH ${JPEG_LIBRARY} PATH) endif() -mark_as_advanced(JPEG_LIBRARY JPEG_INCLUDE_DIR ) +mark_as_advanced(JPEG_LIBRARY JPEG_INCLUDE_DIR) |