Skip to content

Commit

Permalink
Pass CMAKE_C_FLAGS to pcre2.
Browse files Browse the repository at this point in the history
Now possible to affect CFLAGS of pcre2 build.
  • Loading branch information
jhnwkmn committed Jan 22, 2016
1 parent 872d02d commit c8253cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcre2/CMakeLists.txt
Expand Up @@ -79,7 +79,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0)

SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) # for FindReadline.cmake

SET(CMAKE_C_FLAGS -I${PROJECT_SOURCE_DIR}/src)
SET(CMAKE_C_FLAGS "-I${PROJECT_SOURCE_DIR}/src ${CMAKE_C_FLAGS}")

# external packages
FIND_PACKAGE( BZip2 )
Expand Down

0 comments on commit c8253cc

Please sign in to comment.