~singpolyma/biboumi

aeae88dd32b5130c87929fb0d0bf0f97a17286c2 — Florent Le Coz 8 years ago 6804f31
Move CMake’s config.h(.cmake) files into src/
2 files changed, 1 insertions(+), 2 deletions(-)

M CMakeLists.txt
R config.h.cmake => src/config.h.cmake
M CMakeLists.txt => CMakeLists.txt +1 -2
@@ 22,7 22,6 @@ find_package(EXPAT REQUIRED)
find_package(Libidn)

# To be able to include the config.h file generated by cmake
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories("src/")
include_directories(${EXPAT_INCLUDE_DIRS})
include_directories(${ICONV_INCLUDE_DIRS})


@@ 140,7 139,7 @@ target_link_libraries(test
  config
  logger)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/src/config.h)

#
## Install target

R config.h.cmake => src/config.h.cmake +0 -0