From db9586bc3d59b02acb4fc60bca020cd862eb08fb Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 6 Sep 2021 18:48:28 +0300 Subject: [PATCH] Update CMakeLists.txt --- vendor/MaxmindDB/CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/vendor/MaxmindDB/CMakeLists.txt b/vendor/MaxmindDB/CMakeLists.txt index 8cdf5a1b..055e2b83 100644 --- a/vendor/MaxmindDB/CMakeLists.txt +++ b/vendor/MaxmindDB/CMakeLists.txt @@ -86,17 +86,16 @@ set(MAXMINDB_HEADERS ) set_target_properties(maxminddb PROPERTIES PUBLIC_HEADER "${MAXMINDB_HEADERS}") -install(TARGETS maxminddb - EXPORT maxminddb) +#install(TARGETS maxminddb EXPORT maxminddb) # This is required to work with FetchContent -install(EXPORT maxminddb - FILE maxminddb-config.cmake - NAMESPACE maxminddb:: - DESTINATION lib/cmake/maxminddb) +# install(EXPORT maxminddb +# FILE maxminddb-config.cmake +# NAMESPACE maxminddb:: +# DESTINATION lib/cmake/maxminddb) # We always want to build mmdblookup -add_subdirectory(bin) +#add_subdirectory(bin) if (BUILD_TESTING) enable_testing()