Fixed build problem on raspberry pi.

This commit is contained in:
Yuji Hirose 2015-07-16 20:20:41 -04:00
parent f70da10d79
commit 923dc4c633

View File

@ -3,11 +3,22 @@ include_directories(.)
add_definitions("-std=c++1y")
add_executable(peglint lint/peglint.cc)
target_link_libraries(peglint pthread)
add_executable(playground lint/playground/main.cc)
target_link_libraries(playground pthread)
add_executable(test-main test/test.cc)
target_link_libraries(test-main pthread)
add_executable(calc example/calc.cc)
target_link_libraries(calc pthread)
add_executable(calc2 example/calc2.cc)
target_link_libraries(calc2 pthread)
add_executable(calc3 example/calc3.cc)
target_link_libraries(calc3 pthread)
add_executable(culebra language/main.cc language/repl.cc language/interpreter.cc language/parser.cc)
target_link_libraries(culebra pthread)