mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fix "terminate called after throwing an instance of 'std::system_error'"
This is a re-fix. The missing pthread lib was fixed in469a61f044
, but then unfixed in06fc879371
.
This commit is contained in:
parent
51ed96c8f2
commit
6137e2a340
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user