mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:59:00 +08:00
[nlohmann-fifo-map] Fix Could not find a package "nlohmann-fifo-map" (#10850)
This commit is contained in:
parent
648396545c
commit
8834bbc7b1
@ -1,12 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(nlohmann_fifo_map LANGUAGES CXX)
|
||||
project(nlohmann-fifo-map LANGUAGES CXX)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(NLOHMANN_FIFO_MAP_TARGET_NAME ${PROJECT_NAME})
|
||||
set(NLOHMANN_FIFO_MAP_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/nlohmann")
|
||||
set(NLOHMANN_FIFO_MAP_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/nlohmann-fifo-map")
|
||||
set(NLOHMANN_FIFO_MAP_CONFIG_EXPORT_NAME "${PROJECT_NAME}_config")
|
||||
set(NLOHMANN_FIFO_MAP_CONFIG_EXPORT_NAME "${PROJECT_NAME}-config")
|
||||
set(NLOHMANN_FIFO_MAP_INCLUDE_BUILD_DIR "${CMAKE_SOURCE_DIR}/src/")
|
||||
|
||||
add_library(${NLOHMANN_FIFO_MAP_TARGET_NAME} INTERFACE)
|
||||
|
@ -1,3 +1,4 @@
|
||||
Source: nlohmann-fifo-map
|
||||
Version: 2018.05.07
|
||||
Version: 2018.05.07-1
|
||||
Homepage: https://github.com/nlohmann/fifo_map
|
||||
Description: a FIFO-ordered associative container for C++
|
||||
|
@ -1,5 +1,3 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nlohmann/fifo_map
|
||||
|
Loading…
Reference in New Issue
Block a user