Revert "Fixed problems in CMakeLists.txt"

This reverts commit 0606cd4bb3.
This commit is contained in:
yhirose 2021-08-17 23:40:36 +00:00
parent 0606cd4bb3
commit 3823af3ec1
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.1.0)
project("cpp-peglib") project("cpp-peglib")
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.14) cmake_minimum_required(VERSION 3.1)
project(test) project(test)
Include(FetchContent) Include(FetchContent)
@ -17,8 +17,6 @@ add_executable(test-main test1.cc test2.cc test3.cc)
target_include_directories(test-main PRIVATE ..) target_include_directories(test-main PRIVATE ..)
target_link_libraries(test-main PRIVATE Catch2::Catch2WithMain) target_link_libraries(test-main PRIVATE Catch2::Catch2WithMain)
enable_testing()
add_test( add_test(
NAME TestMain NAME TestMain
COMMAND test-main COMMAND test-main