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