mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Minimal version of wxWidgets set in CMake
This commit is contained in:
parent
63c915c94c
commit
96c4aad4af
1 changed files with 9 additions and 9 deletions
|
|
@ -46,15 +46,15 @@ else()
|
|||
include_directories(${LIBXML2_INCLUDE_DIR})
|
||||
link_libraries(${LIBXML2_LIBRARIES})
|
||||
endif()
|
||||
find_package(wxWidgets REQUIRED stc aui base net core xrc html xml)
|
||||
if(NOT wxWidgets_FOUND)
|
||||
message(SEND_ERROR "Failed to find wxWidgets ")
|
||||
return()
|
||||
else()
|
||||
include(${wxWidgets_USE_FILE})
|
||||
include_directories(${wxWidgets_INCLUDE_DIRS})
|
||||
link_libraries(${wxWidgets_LIBRARIES})
|
||||
endif()
|
||||
find_package(wxWidgets 3.2 REQUIRED stc aui base net core xrc html xml)
|
||||
if(NOT wxWidgets_FOUND)
|
||||
message(SEND_ERROR "Failed to find wxWidgets ")
|
||||
return()
|
||||
else()
|
||||
include(${wxWidgets_USE_FILE})
|
||||
include_directories(${wxWidgets_INCLUDE_DIRS})
|
||||
link_libraries(${wxWidgets_LIBRARIES})
|
||||
endif()
|
||||
|
||||
find_package(PostgreSQL REQUIRED)
|
||||
if(NOT PostgreSQL_FOUND)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue