mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-02-16 18:12:45 +01:00
Fix compilation without PostgreSQL
This commit is contained in:
@ -107,7 +107,8 @@ if(ENABLE_POSTGRESQL)
|
|||||||
include_directories(${PostgreSQL_INCLUDE_DIR})
|
include_directories(${PostgreSQL_INCLUDE_DIR})
|
||||||
set(POSTGRESQL_LIBRARY ${PostgreSQL_LIBRARIES})
|
set(POSTGRESQL_LIBRARY ${PostgreSQL_LIBRARIES})
|
||||||
else()
|
else()
|
||||||
message(STATUS "PostgreSQL not found!")
|
message(STATUS "PostgreSQL not found.")
|
||||||
|
set(POSTGRESQL_LIBRARY "")
|
||||||
endif()
|
endif()
|
||||||
endif(ENABLE_POSTGRESQL)
|
endif(ENABLE_POSTGRESQL)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user