Skip to content

Commit

Permalink
Merge pull request #276 from branan/static_pcre_option
Browse files Browse the repository at this point in the history
Add option to build with static libpcre
  • Loading branch information
zrax committed Jan 21, 2013
2 parents c65ac61 + 8a685a1 commit 31d6a24
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31d6a24

Please sign in to comment.