Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit eb09e8c

Browse files
committedFeb 5, 2025
Revert "improving cmake for tests"
This reverts commit 3cfe957.
1 parent 804dae6 commit eb09e8c

21 files changed

+27371
-34
lines changed
 

‎extras/test/CMakeLists.txt

+2-12
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,15 @@ cmake_minimum_required(VERSION 2.8)
66

77
project(testArduinoIoTCloud)
88

9-
Include(FetchContent)
10-
11-
FetchContent_Declare(
12-
Catch2
13-
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
14-
GIT_TAG v3.4.0
15-
)
16-
17-
FetchContent_MakeAvailable(Catch2)
18-
199
##########################################################################
2010

2111
include_directories(include)
2212
include_directories(../../src)
2313
include_directories(../../src/cbor)
2414
include_directories(../../src/property)
2515
include_directories(../../src/utility/time)
16+
include_directories(external/catch/v2.13.10/include)
17+
include_directories(external/fakeit/v2.0.5/include)
2618

2719
##########################################################################
2820

@@ -108,7 +100,5 @@ add_executable(
108100
${TEST_TARGET_SRCS}
109101
)
110102

111-
target_link_libraries( ${TEST_TARGET} Catch2WithMain )
112-
113103
##########################################################################
114104

0 commit comments

Comments
 (0)
Please sign in to comment.