mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-12-26 10:50:40 +01:00
Fix compilation without PostgreSQL
This commit is contained in:
parent
bc7d81eb62
commit
95b2f46d7e
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user