mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Fixed problems in CMakeLists.txt
This commit is contained in:
parent
f5af8e44dc
commit
0606cd4bb3
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.1.0)
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project("cpp-peglib")
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(test)
|
||||
|
||||
Include(FetchContent)
|
||||
@ -17,6 +17,8 @@ add_executable(test-main test1.cc test2.cc test3.cc)
|
||||
target_include_directories(test-main PRIVATE ..)
|
||||
target_link_libraries(test-main PRIVATE Catch2::Catch2WithMain)
|
||||
|
||||
enable_testing()
|
||||
|
||||
add_test(
|
||||
NAME TestMain
|
||||
COMMAND test-main
|
||||
|
Loading…
Reference in New Issue
Block a user