1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update CMakeLists.txt

This commit is contained in:
Sandu Liviu Catalin 2021-09-06 18:48:28 +03:00
parent 4cefc96faf
commit db9586bc3d

View File

@ -86,17 +86,16 @@ set(MAXMINDB_HEADERS
) )
set_target_properties(maxminddb PROPERTIES PUBLIC_HEADER "${MAXMINDB_HEADERS}") set_target_properties(maxminddb PROPERTIES PUBLIC_HEADER "${MAXMINDB_HEADERS}")
install(TARGETS maxminddb #install(TARGETS maxminddb EXPORT maxminddb)
EXPORT maxminddb)
# This is required to work with FetchContent # This is required to work with FetchContent
install(EXPORT maxminddb # install(EXPORT maxminddb
FILE maxminddb-config.cmake # FILE maxminddb-config.cmake
NAMESPACE maxminddb:: # NAMESPACE maxminddb::
DESTINATION lib/cmake/maxminddb) # DESTINATION lib/cmake/maxminddb)
# We always want to build mmdblookup # We always want to build mmdblookup
add_subdirectory(bin) #add_subdirectory(bin)
if (BUILD_TESTING) if (BUILD_TESTING)
enable_testing() enable_testing()