Skip to content

Commit

Permalink
[INFRA] Update CPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Oct 29, 2024
1 parent dd608f2 commit 5e4eded
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ project (chopper

## BUILD

# Optimization
option (CHOPPER_NATIVE_BUILD "Optimize build for current architecture." ON)
# LTO
include (CheckIPOSupported)
check_ipo_supported (RESULT CHOPPER_HAS_LTO OUTPUT CHOPPER_HAS_LTO_OUTPUT)
if (CHOPPER_HAS_LTO)
set (CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif ()

# Make Release default build type
if (NOT CMAKE_BUILD_TYPE)
Expand Down
6 changes: 3 additions & 3 deletions cmake/package-lock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# This file should be committed to version control

# hibf
set (CHOPPER_HIBF_VERSION 9e631fd792a35e369ea3385c04e299db3a00859c)
set (CHOPPER_HIBF_VERSION 2c1488a460c6a136332286f6efeaad26b1d8daac)
CPMDeclarePackage (hibf
NAME hibf
GIT_TAG ${CHOPPER_HIBF_VERSION} # main
Expand All @@ -26,7 +26,7 @@ CPMDeclarePackage (sharg
OPTIONS "INSTALL_SHARG OFF" "INSTALL_TDL OFF" "CMAKE_MESSAGE_LOG_LEVEL WARNING" "BUILD_TESTING OFF"
)
# seqan3
set (CHOPPER_SEQAN3_VERSION 0b86c6567f910c943c13f40944ab737524a2ecf6)
set (CHOPPER_SEQAN3_VERSION f500cf7fbe128636c6e50a99519b5eb2532ab70e)
CPMDeclarePackage (seqan3
NAME seqan3
GIT_TAG ${CHOPPER_SEQAN3_VERSION} # main
Expand All @@ -38,7 +38,7 @@ CPMDeclarePackage (seqan3
# googletest
set (CHOPPER_GOOGLETEST_VERSION 1.15.2)
CPMDeclarePackage (googletest
NAME googletest
NAME GTest
VERSION ${CHOPPER_GOOGLETEST_VERSION}
GITHUB_REPOSITORY google/googletest
SYSTEM TRUE
Expand Down

0 comments on commit 5e4eded

Please sign in to comment.