Skip to content

Commit 5e6918d

Browse files
committed
Small changes to remove CMake warnings and cleanup code.
1 parent e7bd7f8 commit 5e6918d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

dev/restinio/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.10)
22

3+
cmake_policy(SET CMP0177 NEW)
4+
35
if(NOT RESTINIO_LIBRARY_NAME)
46
# That must be the case when RESTinio is used as a dependency.
57
set(RESTINIO_LIBRARY_NAME restinio)

externals.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,6 @@
4242
end
4343

4444
MxxRu::arch_externals :catch do |e|
45-
# NOTE: version 3.8.1 is not used because it leads to build errors
46-
# somewhere in catch2/extras/CatchAddTests.cmake:234
47-
# Something like:
48-
#
49-
# catch2/extras/CatchAddTests.cmake:138 (string):
50-
# string sub-command JSON failed parsing json string: * Line 1, Column 1
51-
#
52-
# Syntax error: value, object or array expected.
5345
e.url 'https://github.com/catchorg/Catch2/archive/refs/tags/v3.10.0.tar.gz'
5446

5547
e.map_dir 'src' => 'dev/catch2/'

0 commit comments

Comments
 (0)