diff options
author | Julius Werner <jwerner@chromium.org> | 2016-02-12 22:34:07 (GMT) |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2016-02-13 06:49:52 (GMT) |
commit | 4fcb2e17fb065f1d061a9c72066dd4dc1eb94a3f (patch) | |
tree | 7f380b82ca3eed2307acf1a8c219b390fc059535 /cmake_unofficial/CMakeLists.txt | |
parent | ad564c872089f61f1142c3544b9fd140093bd162 (diff) | |
download | lz4-4fcb2e17fb065f1d061a9c72066dd4dc1eb94a3f.zip lz4-4fcb2e17fb065f1d061a9c72066dd4dc1eb94a3f.tar.gz lz4-4fcb2e17fb065f1d061a9c72066dd4dc1eb94a3f.tar.bz2 |
Remove whitespace from ends of lines
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'cmake_unofficial/CMakeLists.txt')
-rw-r--r-- | cmake_unofficial/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake_unofficial/CMakeLists.txt b/cmake_unofficial/CMakeLists.txt index 57f7947..dbfc7d6 100644 --- a/cmake_unofficial/CMakeLists.txt +++ b/cmake_unofficial/CMakeLists.txt @@ -42,9 +42,9 @@ if(BUILD_TOOLS) install(TARGETS lz4 RUNTIME DESTINATION "bin/") endif() -if(BUILD_LIBS) - - +if(BUILD_LIBS) + + SET(LIBS_TARGETS "") IF(NOT WIN32) add_library(liblz4 SHARED ${LZ4_SRCS_LIB}) @@ -55,12 +55,12 @@ if(BUILD_LIBS) add_library(liblz4 STATIC ${LZ4_SRCS_LIB}) SET(LIBS_TARGETS liblz4) ENDIF(NOT WIN32) - + set_target_properties(liblz4 PROPERTIES OUTPUT_NAME lz4 SOVERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}" ) - + install(TARGETS ${LIBS_TARGETS} RUNTIME DESTINATION lib #on Windows: cmake considers dlls as runtime component LIBRARY DESTINATION lib @@ -73,7 +73,7 @@ if(BUILD_LIBS) ${LZ4_DIR}/lz4frame.h DESTINATION include ) - + if(BUILD_TOOLS) target_link_libraries(lz4 liblz4) endif() |