We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae1bd56 commit 89a2e1bCopy full SHA for 89a2e1b
CMakeLists.txt
@@ -115,7 +115,6 @@ add_subdirectory(src)
115
prepend(LIBPG_SOURCES_FULLPATH ${CMAKE_CURRENT_SOURCE_DIR} ${LIBPG_SOURCES})
116
117
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/postgres)
118
- file(MAKE_DIRECTORY postgres)
119
120
# Download the PostgreSQL source code
121
message(STATUS "Downloading PostgreSQL source code")
@@ -127,7 +126,6 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/postgres)
127
126
STATUS PG_DOWNLOAD_RESULT)
128
129
if(NOT PG_DOWNLOAD_RESULT EQUAL 0)
130
- file(REMOVE_RECURSE postgres)
131
file(REMOVE pg.tar.gz)
132
message(FATAL_ERROR "Failed to download PostgreSQL source code")
133
endif()
0 commit comments