CMakeLists.txt,cosmetics: normalize if() formatting

+ break a long line

Change-Id: Ia508d517e89dd2109b655c220b66d8aa834a3b52
This commit is contained in:
James Zern 2018-06-01 20:09:03 -07:00
parent 1a44c233b9
commit 1579559662

View File

@ -329,7 +329,8 @@ if(WEBP_BUILD_IMG2WEBP)
parse_Makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/examples "IMG2WEBP_SRCS"
"img2webp")
add_executable(img2webp ${IMG2WEBP_SRCS})
target_link_libraries(img2webp exampleutil imagedec imageioutil webp libwebpmux)
target_link_libraries(img2webp exampleutil imagedec imageioutil webp
libwebpmux)
target_include_directories(img2webp PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/src)
install(TARGETS img2webp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
@ -356,7 +357,7 @@ if(WEBP_BUILD_VWEBP)
endif()
endif()
if (WEBP_BUILD_WEBPINFO)
if(WEBP_BUILD_WEBPINFO)
# webpinfo
include_directories(${WEBP_DEP_IMG_INCLUDE_DIRS})
parse_Makefile_am(${CMAKE_CURRENT_SOURCE_DIR}/examples "WEBPINFO_SRCS"