mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Revert "Fixed problems in CMakeLists.txt"
This reverts commit 0606cd4bb3
.
This commit is contained in:
parent
0606cd4bb3
commit
3823af3ec1
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user