Made pthread required for building protobuf

develop
David Seguin 2016-09-08 17:12:42 -04:00
parent 860e584006
commit 01a97f6487
No known key found for this signature in database
GPG Key ID: 7B6DF8A9F52A0E88
1 changed files with 2 additions and 2 deletions

@ -68,7 +68,7 @@ IF (HAVE_HASH_MAP EQUAL 0)
ENDIF()
IF(UNIX)
FIND_PACKAGE(Threads)
FIND_PACKAGE(Threads REQUIRED)
ENDIF()
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h")
@ -247,4 +247,4 @@ IF(NOT CMAKE_CROSSCOMPILING)
TARGET_LINK_LIBRARIES(protoc-bin protoc)
EXPORT(TARGETS protoc-bin FILE ${CMAKE_BINARY_DIR}/ImportExecutables.cmake )
ENDIF()
ENDIF()