mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:04:12 +08:00
mdbx-cmake: reformat install section.
Change-Id: Id06fe24d46b5afade52dedbda747a7c8fb631263
This commit is contained in:
parent
20d74dad23
commit
cc4e0f2642
@ -557,45 +557,21 @@ endif()
|
|||||||
if(MDBX_BUILD_SHARED_LIBRARY)
|
if(MDBX_BUILD_SHARED_LIBRARY)
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.12)
|
if(CMAKE_VERSION VERSION_LESS 3.12)
|
||||||
install(TARGETS mdbx EXPORT libmdbx
|
install(TARGETS mdbx EXPORT libmdbx
|
||||||
RUNTIME
|
RUNTIME DESTINATION bin COMPONENT runtime
|
||||||
DESTINATION bin
|
LIBRARY DESTINATION bin COMPONENT runtime
|
||||||
COMPONENT runtime
|
OBJECTS DESTINATION lib COMPONENT devel
|
||||||
LIBRARY
|
ARCHIVE DESTINATION lib COMPONENT devel
|
||||||
DESTINATION lib
|
PUBLIC_HEADER DESTINATION include COMPONENT devel
|
||||||
COMPONENT runtime
|
INCLUDES DESTINATION include COMPONENT devel)
|
||||||
OBJECTS
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
ARCHIVE
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
PUBLIC_HEADER
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel
|
|
||||||
INCLUDES
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel)
|
|
||||||
else()
|
else()
|
||||||
install(TARGETS mdbx EXPORT libmdbx
|
install(TARGETS mdbx EXPORT libmdbx
|
||||||
RUNTIME
|
RUNTIME DESTINATION bin COMPONENT runtime
|
||||||
DESTINATION bin
|
LIBRARY DESTINATION bin COMPONENT runtime
|
||||||
COMPONENT runtime
|
|
||||||
LIBRARY
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT runtime
|
|
||||||
NAMELINK_COMPONENT devel
|
NAMELINK_COMPONENT devel
|
||||||
OBJECTS
|
OBJECTS DESTINATION lib COMPONENT devel
|
||||||
DESTINATION lib
|
ARCHIVE DESTINATION lib COMPONENT devel
|
||||||
COMPONENT devel
|
PUBLIC_HEADER DESTINATION include COMPONENT devel
|
||||||
ARCHIVE
|
INCLUDES DESTINATION include COMPONENT devel)
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
PUBLIC_HEADER
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel
|
|
||||||
INCLUDES
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel)
|
|
||||||
endif()
|
endif()
|
||||||
endif(MDBX_BUILD_SHARED_LIBRARY)
|
endif(MDBX_BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
@ -626,45 +602,21 @@ endif(MDBX_BUILD_TOOLS)
|
|||||||
if(MDBX_INSTALL_STATIC)
|
if(MDBX_INSTALL_STATIC)
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.12)
|
if(CMAKE_VERSION VERSION_LESS 3.12)
|
||||||
install(TARGETS mdbx-static EXPORT libmdbx
|
install(TARGETS mdbx-static EXPORT libmdbx
|
||||||
RUNTIME
|
RUNTIME DESTINATION bin COMPONENT runtime
|
||||||
DESTINATION bin
|
LIBRARY DESTINATION bin COMPONENT runtime
|
||||||
COMPONENT runtime
|
OBJECTS DESTINATION lib COMPONENT devel
|
||||||
LIBRARY
|
ARCHIVE DESTINATION lib COMPONENT devel
|
||||||
DESTINATION lib
|
PUBLIC_HEADER DESTINATION include COMPONENT devel
|
||||||
COMPONENT runtime
|
INCLUDES DESTINATION include COMPONENT devel)
|
||||||
OBJECTS
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
ARCHIVE
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
PUBLIC_HEADER
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel
|
|
||||||
INCLUDES
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel)
|
|
||||||
else()
|
else()
|
||||||
install(TARGETS mdbx-static EXPORT libmdbx
|
install(TARGETS mdbx-static EXPORT libmdbx
|
||||||
RUNTIME
|
RUNTIME DESTINATION bin COMPONENT runtime
|
||||||
DESTINATION bin
|
LIBRARY DESTINATION bin COMPONENT runtime
|
||||||
COMPONENT runtime
|
|
||||||
LIBRARY
|
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT runtime
|
|
||||||
NAMELINK_COMPONENT devel
|
NAMELINK_COMPONENT devel
|
||||||
OBJECTS
|
OBJECTS DESTINATION lib COMPONENT devel
|
||||||
DESTINATION lib
|
ARCHIVE DESTINATION lib COMPONENT devel
|
||||||
COMPONENT devel
|
PUBLIC_HEADER DESTINATION include COMPONENT devel
|
||||||
ARCHIVE
|
INCLUDES DESTINATION include COMPONENT devel)
|
||||||
DESTINATION lib
|
|
||||||
COMPONENT devel
|
|
||||||
PUBLIC_HEADER
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel
|
|
||||||
INCLUDES
|
|
||||||
DESTINATION include
|
|
||||||
COMPONENT devel)
|
|
||||||
endif()
|
endif()
|
||||||
endif(MDBX_INSTALL_STATIC)
|
endif(MDBX_INSTALL_STATIC)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user