Skip to content

Commit

Permalink
Merge branch 'main' into cmake-lib-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald authored Apr 27, 2021
2 parents 41079ed + 588fdc7 commit 9721b8a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,9 @@ if(WIN32)
target_link_libraries(maxminddb ws2_32)
endif()

set(MAXMINDB_INCLUDE_DIR
.
include
)

target_include_directories(maxminddb PUBLIC
$<BUILD_INTERFACE:${MAXMINDB_INCLUDE_DIR}>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
)

Expand Down

0 comments on commit 9721b8a

Please sign in to comment.