Browse Source

Revert "* check is pcre.h available in cmake"

This reverts commit 8d5ba0ce79.
master
Alex 'AdUser' Z 8 years ago
parent
commit
20005de4f9
  1. 7
      CMakeLists.txt

7
CMakeLists.txt

@ -4,7 +4,6 @@ set(VERSION 0.3)
project(${CNAME} C)
cmake_minimum_required(VERSION 2.6)
include(CheckIncludeFiles)
include(CTest)
option(WITH_CLIENT "Simple client for configuring daemon" ON)
@ -38,12 +37,6 @@ if (WITH_HARDENING)
add_definitions("-D_FORTIFY_SOURCE=2")
endif ()
check_include_files("pcre.h" HAS_PCRE)
if (${WITH_PCRE} STREQUAL "ON" AND NOT ${HAS_PCRE})
set(WITH_PCRE "OFF")
message(WARNING "pcre headers not found, support disabled")
endif ()
message(STATUS "Compiler : ${CMAKE_C_COMPILER} (${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION})")
message(STATUS "- CFLAGS : ${CMAKE_C_FLAGS}")
message(STATUS "Paths:")

Loading…
Cancel
Save