Skip to content

Commit 2997c47

Browse files
committed
Remove CMake config special case for Nominatim integration
Not needed any more, because Nominatim now works with stock osm2pgsql.
1 parent 0c87c96 commit 2997c47

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
77

88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
99

10-
# Do not create install targets when run as a subproject.
11-
# Currently used by Nominatim which cannot yet rely on installed versions
12-
# of osm2pgsql.
13-
if (${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
14-
set(ENABLE_INSTALL ON)
15-
else()
16-
set(ENABLE_INSTALL OFF)
17-
endif()
18-
1910
if (NOT ${CMAKE_SIZEOF_VOID_P} EQUAL 8)
2011
message(FATAL_ERROR "osm2pgsql needs a 64 bit architecture")
2112
endif()

0 commit comments

Comments
 (0)