Fix CMake

This commit is contained in:
Jonathan Müller 2017-11-11 10:33:01 +01:00
commit 8532de1479
4 changed files with 3 additions and 2 deletions

View file

@ -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)