Merge pull request #100 from bnjf/patch-1

Fix "terminate called after throwing an instance of 'std::system_error'"
This commit is contained in:
yhirose 2020-04-24 11:59:01 -04:00 committed by GitHub
commit da123f1cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,3 +3,7 @@ project(peglint)
include_directories(..) include_directories(..)
add_definitions("-std=c++11") add_definitions("-std=c++11")
add_executable(peglint peglint.cc) add_executable(peglint peglint.cc)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(peglint pthread)
endif()