Fix fetch content to build main product

This commit is contained in:
jfmcarreira committed 2021-11-27 23:28:27 +00:00
1 parent f3919ac8e8
commit d4886a7fee
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
# Created by https://www.gitignore.io/api/c++,clion,linux
# Edit at https://www.gitignore.io/?templates=c++,clion,linux
deps/**
### C++ ###
# Prerequisites
*.d
@@ -146,4 +146,4 @@ doc/
compile_commands.json
# Build dirs
build*
build*
+2
View File
@@ -162,6 +162,8 @@ IF(BUILD_TESTS)
DESCRIPTION "Catch2 unit tests"
TYPE OPTIONAL
)
FETCHCONTENT_MAKEAVAILABLE(googletest Catch2)
INCLUDE(${CMAKE_SOURCE_DIR}/deps/catch2-src/contrib/Catch.cmake)
INCLUDE(CTest)
ENABLE_TESTING()