Fix CMake
This commit is contained in:
parent
ced136a3a4
commit
8532de1479
4 changed files with 3 additions and 2 deletions
|
|
@ -5,6 +5,7 @@
|
|||
function(_cppast_example name)
|
||||
add_executable(cppast_example_${name} ${name}.cpp example_parser.hpp)
|
||||
target_link_libraries(cppast_example_${name} PUBLIC cppast)
|
||||
set_target_properties(cppast_example_${name} PROPERTIES CXX_STANDARD 11)
|
||||
endfunction()
|
||||
|
||||
_cppast_example(ast_printer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue