cmake_minimum_required(VERSION 2.8)
project(Col)
subdirs(src)

set(PACKAGE_VERSION 1)
set(BUILD_SHARED_LIBS on)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

find_package(Apr REQUIRED)
find_package(Apu REQUIRED)
find_package(BerkeleyDB)
find_package(Bison REQUIRED)
find_package(Flex REQUIRED)
find_package(Sqlite3 REQUIRED)

include_directories(${APR_INCLUDES} ${APU_INCLUDES} ${SQLITE3_INCLUDE_DIR})

set(CMAKE_C_FLAGS "-g -Wall -W -Wmissing-prototypes -pedantic -std=gnu99 ${APR_CFLAGS} ${CMAKE_C_FLAGS}")
message (STATUS "CFLAGS: ${CMAKE_C_FLAGS}")

cmake_minimum_required(VERSION 2.8)
project(Col)
subdirs(src)

set(PACKAGE_VERSION 1)
set(BUILD_SHARED_LIBS on)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

find_package(Apr REQUIRED)
find_package(Apu REQUIRED)
find_package(BerkeleyDB)
find_package(Bison REQUIRED)
find_package(Flex REQUIRED)
find_package(SQLite3 REQUIRED)

include_directories(${APR_INCLUDES} ${APU_INCLUDES} ${SQLITE3_INCLUDE_DIR})

set(CMAKE_C_FLAGS "-g -Wall -W -Wmissing-prototypes -pedantic -std=gnu99 ${APR_CFLAGS} ${CMAKE_C_FLAGS}")
message (STATUS "CFLAGS: ${CMAKE_C_FLAGS}")

Fix for case of SQLite3, per broken case-sensitivity in CMake.
Fix for case of SQLite3, per broken case-sensitivity in CMake.
