Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
6a9771f2
Commit
6a9771f2
authored
Feb 08, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main CMakeLists: build lib-wxpython only if KICAD_SCRIPTING_WXPYTHON is ON
parent
8df3326d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
CMakeLists.txt
+4
-2
No files found.
CMakeLists.txt
View file @
6a9771f2
...
@@ -341,6 +341,7 @@ add_definitions(-DWX_COMPATIBILITY)
...
@@ -341,6 +341,7 @@ add_definitions(-DWX_COMPATIBILITY)
find_package
(
OpenGL QUIET
)
find_package
(
OpenGL QUIET
)
check_find_package_result
(
OPENGL_FOUND
"OpenGL"
)
check_find_package_result
(
OPENGL_FOUND
"OpenGL"
)
if
(
KICAD_SCRIPTING_WXPYTHON
)
add_custom_target
(
lib-wxpython
)
add_custom_target
(
lib-wxpython
)
include
(
download_pcre
)
include
(
download_pcre
)
include
(
download_swig
)
include
(
download_swig
)
...
@@ -348,6 +349,7 @@ add_custom_target( lib-wxpython )
...
@@ -348,6 +349,7 @@ add_custom_target( lib-wxpython )
add_dependencies
(
lib-wxpython pcre
)
add_dependencies
(
lib-wxpython pcre
)
add_dependencies
(
lib-wxpython swig
)
add_dependencies
(
lib-wxpython swig
)
add_dependencies
(
lib-wxpython libwxpython
)
add_dependencies
(
lib-wxpython libwxpython
)
endif
()
if
(
KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC
)
if
(
KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment