Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.10)

set(PROJECT_NAME shadowsocks-libev)
set(RELEASE_DATE 2026-02-09)
Expand Down
4 changes: 2 additions & 2 deletions cmake/FindPCRE2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# PCRE2_INCLUDE_DIRS
# PCRE2_LIBRARIES

include(FindPkgConfig)
find_package(PkgConfig QUIET)

if(PKG_CONFIG_FOUND)
if(PkgConfig_FOUND)
pkg_check_modules(_PCRE2 QUIET libpcre2-8)
endif()

Expand Down
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function(ss_add_test name sources libs)
add_executable(${name} ${sources})
target_compile_definitions(${name} PRIVATE -DHAVE_CONFIG_H)
target_link_libraries(${name} ${libs})
# Keep assertions enabled for tests even in Release builds.
target_compile_options(${name} PRIVATE -UNDEBUG)
add_test(NAME ${name} COMMAND ${name})
endfunction()

Expand Down
Loading