From 6b7fd477452419371ab9833c33c3c43eddecc88b Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Fri, 26 Aug 2016 02:42:42 +0200 Subject: [PATCH] Fix FindMiniupnpc.cmake not being found --- CMakeLists.txt | 1 + cmake/{ => Modules}/FindMiniupnpc.cmake | 0 2 files changed, 1 insertion(+) rename cmake/{ => Modules}/FindMiniupnpc.cmake (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index e93a91c..9db37fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.2 FATAL_ERROR) project(keepupnpup CXX) +list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules) option (USE_SYSTEM_MINIUPNP "Try to locate miniupnpc on the system and build against that" ON) diff --git a/cmake/FindMiniupnpc.cmake b/cmake/Modules/FindMiniupnpc.cmake similarity index 100% rename from cmake/FindMiniupnpc.cmake rename to cmake/Modules/FindMiniupnpc.cmake