main CMakeLists: build lib-wxpython only if KICAD_SCRIPTING_WXPYTHON is ON
This commit is contained in:
parent
8df3326df1
commit
6a9771f24b
|
@ -341,6 +341,7 @@ add_definitions(-DWX_COMPATIBILITY)
|
|||
find_package( OpenGL QUIET )
|
||||
check_find_package_result( OPENGL_FOUND "OpenGL" )
|
||||
|
||||
if( KICAD_SCRIPTING_WXPYTHON )
|
||||
add_custom_target( lib-wxpython )
|
||||
include( download_pcre )
|
||||
include( download_swig )
|
||||
|
@ -348,6 +349,7 @@ add_custom_target( lib-wxpython )
|
|||
add_dependencies( lib-wxpython pcre )
|
||||
add_dependencies( lib-wxpython swig )
|
||||
add_dependencies( lib-wxpython libwxpython )
|
||||
endif()
|
||||
|
||||
if( KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC )
|
||||
|
||||
|
|
Loading…
Reference in New Issue