Fix CMake
This commit is contained in:
parent
ced136a3a4
commit
8532de1479
4 changed files with 3 additions and 2 deletions
|
|
@ -36,6 +36,7 @@ set(tests
|
|||
add_executable(cppast_test test.cpp test_parser.hpp ${tests})
|
||||
target_include_directories(cppast_test PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_link_libraries(cppast_test PUBLIC cppast)
|
||||
set_target_properties(cppast_test PROPERTIES CXX_STANDARD 11)
|
||||
|
||||
enable_testing()
|
||||
add_test(NAME test COMMAND cppast_test)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue