Merge cmake configured headers into one config.h.in
This looks better than leave cmake *.in everywhere in the tree. Also fix typo according to review comments of PR 425.
This commit is contained in:
parent
202b556bea
commit
f203a75010
20 changed files with 35 additions and 39 deletions
|
|
@ -105,14 +105,11 @@ endif()
|
|||
if (ANBOX_VERSION_SUFFIX)
|
||||
set(ANBOX_VERSION "${ANBOX_VERSION}-${ANBOX_VERSION_SUFFIX}")
|
||||
endif()
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/build/version.h.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/build/version.h)
|
||||
|
||||
set(ANBOX_RESOURCE_DIR "${CMAKE_INSTALL_DATADIR}/anbox")
|
||||
set(ANBOX_RESOURCE_DIR_FULL "${CMAKE_INSTALL_FULL_DATADIR}/anbox")
|
||||
set(ANBOX_STATEDIR_FULL "${CMAKE_INSTALL_FULL_LOCALSTATEDIR}/anbox")
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/config.h.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/config.h)
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/build/config.h.in
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/anbox/build/config.h)
|
||||
|
||||
add_subdirectory(external)
|
||||
add_subdirectory(src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue