mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:49:05 +08:00
e00bf0c7be
* cityhash * use ./configure (!win) * remove 'usage' file
19 lines
477 B
CMake
19 lines
477 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
project(cityhash CXX)
|
|
|
|
add_library(cityhash STATIC src/city.cc)
|
|
|
|
target_include_directories(cityhash PUBLIC
|
|
$<INSTALL_INTERFACE:include>
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
|
|
)
|
|
|
|
install(TARGETS cityhash EXPORT cityhash-config
|
|
RUNTIME DESTINATION bin
|
|
ARCHIVE DESTINATION lib
|
|
LIBRARY DESTINATION lib
|
|
)
|
|
|
|
install(EXPORT cityhash-config DESTINATION share/cmake/cityhash)
|
|
install(FILES src/city.h DESTINATION include)
|