Skip to content

Commit

Permalink
removed lz4c target
Browse files Browse the repository at this point in the history
should no longer be necessary
  • Loading branch information
Cyan4973 committed Jul 21, 2024
1 parent 4f33088 commit 65998fe
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ project(LZ4 VERSION ${LZ4_VERSION_STRING} LANGUAGES C)


option(LZ4_BUILD_CLI "Build lz4 program" ON)
option(LZ4_BUILD_LEGACY_LZ4C "Build lz4c program with legacy argument support" ON)


# Determine if LZ4 is being built as part of another project.
Expand Down Expand Up @@ -145,13 +144,6 @@ if (LZ4_BUILD_CLI)
set_target_properties(lz4cli PROPERTIES OUTPUT_NAME lz4)
endif()

# lz4c
if (LZ4_BUILD_LEGACY_LZ4C)
list(APPEND LZ4_PROGRAMS_BUILT lz4c)
add_executable(lz4c ${LZ4_CLI_SOURCES})
set_target_properties(lz4c PROPERTIES COMPILE_DEFINITIONS "ENABLE_LZ4C_LEGACY_OPTIONS")
endif()

# Extra warning flags
if(MSVC)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /W4")
Expand Down

0 comments on commit 65998fe

Please sign in to comment.