We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c87c96 commit 2997c47Copy full SHA for 2997c47
1 file changed
CMakeLists.txt
@@ -7,15 +7,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7
8
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
9
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
-
19
if (NOT ${CMAKE_SIZEOF_VOID_P} EQUAL 8)
20
message(FATAL_ERROR "osm2pgsql needs a 64 bit architecture")
21
endif()
0 commit comments