Skip to content

Commit

Permalink
Fixed formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed May 10, 2019
1 parent 78859aa commit 1d9f8aa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -651,14 +651,6 @@ endif()

# Build test executables
if(MZ_BUILD_TEST)
add_executable(minizip_cmd "minizip.c" "test/test.c" "test/test.h")
set_target_properties(minizip_cmd PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
target_link_libraries(minizip_cmd ${PROJECT_NAME})

if(NOT SKIP_INSTALL_BINARIES AND NOT SKIP_INSTALL_ALL)
install(TARGETS minizip_cmd RUNTIME DESTINATION "bin")
endif()

if(MZ_ZLIB AND NOT MZ_LIBCOMP)
add_executable(minigzip_cmd "minigzip.c")
set_target_properties(minigzip_cmd PROPERTIES OUTPUT_NAME minigzip)
Expand All @@ -668,6 +660,14 @@ if(MZ_BUILD_TEST)
install(TARGETS minigzip_cmd RUNTIME DESTINATION "bin")
endif()
endif()

add_executable(minizip_cmd "minizip.c" "test/test.c" "test/test.h")
set_target_properties(minizip_cmd PROPERTIES OUTPUT_NAME ${PROJECT_NAME})
target_link_libraries(minizip_cmd ${PROJECT_NAME})

if(NOT SKIP_INSTALL_BINARIES AND NOT SKIP_INSTALL_ALL)
install(TARGETS minizip_cmd RUNTIME DESTINATION "bin")
endif()
endif()

if(MZ_BUILD_UNIT_TEST)
Expand Down

0 comments on commit 1d9f8aa

Please sign in to comment.