Fix DrogonConfig.cmake for Windows (#403)
This commit is contained in:
parent
1969effd29
commit
c46c7f3570
|
@ -14,7 +14,9 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
|||
|
||||
find_dependency(Jsoncpp REQUIRED)
|
||||
find_dependency(Trantor REQUIRED)
|
||||
if(NOT WIN32)
|
||||
find_dependency(UUID REQUIRED)
|
||||
endif(NOT WIN32)
|
||||
find_dependency(ZLIB REQUIRED)
|
||||
if(@pg_FOUND@)
|
||||
find_dependency(pg)
|
||||
|
|
|
@ -19,5 +19,9 @@ if(PostgreSQL_FOUND)
|
|||
INTERFACE_LINK_LIBRARIES
|
||||
"${PostgreSQL_LIBRARIES}")
|
||||
mark_as_advanced(PG_INCLUDE_DIRS PG_LIBRARIES)
|
||||
set(pg_FOUND TRUE)
|
||||
endif()
|
||||
endif(PostgreSQL_FOUND)
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(pg
|
||||
DEFAULT_MSG
|
||||
PG_LIBRARIES
|
||||
PG_INCLUDE_DIRS)
|
||||
|
|
Loading…
Reference in New Issue