cpp-peglib/lint/CMakeLists.txt
bnjf 6137e2a340
Fix "terminate called after throwing an instance of 'std::system_error'"
This is a re-fix.  The missing pthread lib was fixed in 469a61f044, but then unfixed in 06fc879371.
2020-04-25 00:52:03 +10:00

10 lines
231 B
CMake

cmake_minimum_required(VERSION 2.8)
project(peglint)
include_directories(..)
add_definitions("-std=c++11")
add_executable(peglint peglint.cc)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(peglint pthread)
endif()