|
|
@ -347,6 +347,12 @@ check_find_package_result( OPENGL_FOUND "OpenGL" ) |
|
|
|
if( KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC ) |
|
|
|
|
|
|
|
add_custom_target( lib-wxpython ) |
|
|
|
include( download_pcre ) |
|
|
|
include( download_swig ) |
|
|
|
include( download_wxpython ) |
|
|
|
add_dependencies( lib-wxpython pcre ) |
|
|
|
add_dependencies( lib-wxpython swig ) |
|
|
|
add_dependencies( lib-wxpython libwxpython ) |
|
|
|
|
|
|
|
|
|
|
|
#set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so;.dylib;.dll") |
|
|
@ -394,12 +400,6 @@ add_custom_target( lib-wxpython ) |
|
|
|
set(wxWidgets_INCLUDE_DIRS ${LIBWXPYTHON_ROOT}/include/wx-3.0 ) |
|
|
|
set(wxWidgets_LIBRARY_DIRS ${LIBWXPYTHON_ROOT}/lib ) |
|
|
|
|
|
|
|
include( download_pcre ) |
|
|
|
include( download_swig ) |
|
|
|
include( download_wxpython ) |
|
|
|
add_dependencies( lib-wxpython pcre ) |
|
|
|
add_dependencies( lib-wxpython swig ) |
|
|
|
add_dependencies( lib-wxpython libwxpython ) |
|
|
|
add_dependencies( lib-dependencies libwxpython ) |
|
|
|
else() |
|
|
|
include( download_wxwidgets ) |
|
|
|