mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-25 17:03:47 +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