aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-04-17 02:55:00 +0800
committerGitHub <noreply@github.com>2020-04-16 11:55:00 -0700
commit8834bbc7b12e256c8f5e2444d44ab7ec83fa0b42 (patch)
treea8849204bb63b425b9516e63eee604f9f3c2c7e8 /ports
parent648396545c87d6b4d85e8dd1eb50c6abc6960649 (diff)
downloadvcpkg-8834bbc7b12e256c8f5e2444d44ab7ec83fa0b42.tar.gz
vcpkg-8834bbc7b12e256c8f5e2444d44ab7ec83fa0b42.zip
[nlohmann-fifo-map] Fix Could not find a package "nlohmann-fifo-map" (#10850)
Diffstat (limited to 'ports')
-rw-r--r--ports/nlohmann-fifo-map/CMakeLists.txt4
-rw-r--r--ports/nlohmann-fifo-map/CONTROL3
-rw-r--r--ports/nlohmann-fifo-map/portfile.cmake2
3 files changed, 4 insertions, 5 deletions
diff --git a/ports/nlohmann-fifo-map/CMakeLists.txt b/ports/nlohmann-fifo-map/CMakeLists.txt
index 5ec3e9532..3450e5100 100644
--- a/ports/nlohmann-fifo-map/CMakeLists.txt
+++ b/ports/nlohmann-fifo-map/CMakeLists.txt
@@ -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)
diff --git a/ports/nlohmann-fifo-map/CONTROL b/ports/nlohmann-fifo-map/CONTROL
index 9a8ec6de2..22b81c51f 100644
--- a/ports/nlohmann-fifo-map/CONTROL
+++ b/ports/nlohmann-fifo-map/CONTROL
@@ -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++
diff --git a/ports/nlohmann-fifo-map/portfile.cmake b/ports/nlohmann-fifo-map/portfile.cmake
index e2b12dc1d..3079e964e 100644
--- a/ports/nlohmann-fifo-map/portfile.cmake
+++ b/ports/nlohmann-fifo-map/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nlohmann/fifo_map