diff --git a/CMakeLists.txt b/CMakeLists.txt index 002ecfd..e398adc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bsymbolic-functions # Build configure_file ( - "${PROJECT_SOURCE_DIR}/tiniConfig.h.in" + "${PROJECT_SOURCE_DIR}/src/tiniConfig.h.in" "${PROJECT_BINARY_DIR}/tiniConfig.h" ) @@ -26,4 +26,4 @@ configure_file ( include_directories ("${PROJECT_BINARY_DIR}") -add_executable (tini tini.c) +add_executable (tini src/tini.c) diff --git a/tini.c b/src/tini.c similarity index 100% rename from tini.c rename to src/tini.c diff --git a/tiniConfig.h.in b/src/tiniConfig.h.in similarity index 100% rename from tiniConfig.h.in rename to src/tiniConfig.h.in