Skip to content

Commit

Permalink
zip
Browse files Browse the repository at this point in the history
  • Loading branch information
bramtayl committed Aug 10, 2023
1 parent a371e0d commit 99605b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ option(JUSTLY_USE_CLANG "Use clang" OFF)

set(CMAKE_INCLUDE_CURRENT_DIR TRUE)

if (WIN32)
set(CPACK_GENERATOR "ZIP")
else()
set(CPACK_GENERATOR "TGZ")
endif()

if (JUSTLY_INCLUDE_WHAT_YOU_USE)
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE "include-what-you-use")
endif()
Expand Down Expand Up @@ -213,12 +219,6 @@ endif()

include(CPack)

if (WIN32)
set(CPACK_SOURCE_GENERATOR "CPACK_GENERATOR")
else()
set(CPACK_SOURCE_GENERATOR "CPACK_GENERATOR")
endif()

mark_as_advanced(
Justly_sources
Justly_dependencies
Expand Down

0 comments on commit 99605b9

Please sign in to comment.