mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
6137e2a340
This is a re-fix. The missing pthread lib was fixed in469a61f044
, but then unfixed in06fc879371
.
10 lines
231 B
CMake
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()
|