Browse Source

Merge pull request #276 from branan/static_pcre_option

Add option to build with static libpcre
Michael Hansen 12 years ago
parent
commit
31d6a24375
  1. 6
      CMakeLists.txt

6
CMakeLists.txt

@ -63,6 +63,12 @@ if(CURL_IS_STATIC)
add_definitions(-DCURL_STATICLIB)
endif(CURL_IS_STATIC)
#libpcre isn't smart enough to detect this either
option(PCRE_IS_STATIC "Using the static version of libpcre?" ON)
if(PCRE_IS_STATIC)
add_definitions(-DPCRE_STATIC)
endif(PCRE_IS_STATIC)
option(PLASMA_EXTERNAL_RELEASE "Is this release intended for the general public?" OFF)
if(PLASMA_EXTERNAL_RELEASE)
add_definitions(-DPLASMA_EXTERNAL_RELEASE)

Loading…
Cancel
Save