diff --git a/CMakeLists.txt b/CMakeLists.txt index 02073be..439df79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -210,7 +210,7 @@ elseif (HAVE__SNPRINTF) endif () # configure the public config file -configure_file (${CMAKE_CURRENT_SOURCE_DIR}/src/jansson_config.h.cmake +configure_file (${CMAKE_CURRENT_SOURCE_DIR}/cmake/jansson_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/include/jansson_config.h) # Copy the jansson.h file to the public include folder @@ -219,7 +219,7 @@ file (COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/jansson.h # configure the private config file -configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake +configure_file (${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/private_include/config.h) # and tell the source code to include it diff --git a/config.h.cmake b/cmake/config.h.cmake similarity index 100% rename from config.h.cmake rename to cmake/config.h.cmake diff --git a/src/jansson_config.h.cmake b/cmake/jansson_config.h.cmake similarity index 100% rename from src/jansson_config.h.cmake rename to cmake/jansson_config.h.cmake