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
9ba847c8
Commit
9ba847c8
authored
Dec 23, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable webkit when BUILD_GITHUB_PLUGIN is off
parent
bc230f76
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
CMakeLists.txt
CMakeLists.txt
+6
-6
No files found.
CMakeLists.txt
View file @
9ba847c8
...
@@ -36,17 +36,17 @@ option( KICAD_KEEPCASE
...
@@ -36,17 +36,17 @@ option( KICAD_KEEPCASE
ON
ON
)
)
# The footprint library wizard uses wxW
EBVIEW
, which needs a system webkit to be built
# The footprint library wizard uses wxW
ebview
, which needs a system webkit to be built
# The default build option in wxWidgets is to build wxW
EBVIEW, but it colu
d be not built
# The default build option in wxWidgets is to build wxW
ebview, but it coul
d be not built
# if web kit devel tools are missing
# if web kit devel tools are missing
# So this option disable use of wxW
EBVIEW, if building wxWEBVIEW
creates issues
# So this option disable use of wxW
ebview, if building wxWebview
creates issues
# see:
# see:
# http://docs.wxwidgets.org/3.0/classwx_web_view.html
# http://docs.wxwidgets.org/3.0/classwx_web_view.html
# * No issues on Windows.
# * No issues on Windows.
# * needs webkitgtk-devel package installed on Linux, and wxWidgets rebuilt with this package.
# * needs webkitgtk-devel package installed on Linux, and wxWidgets rebuilt with this package.
# * Seems also OK on OSX.
# * Seems also OK on OSX.
# However the default option is on
# However the default option is on
and has effect only if BUILD_GITHUB_PLUGIN is ON
# This option could be removed soon, if no serious issue happens on Linux
or OSX
# This option could be removed soon, if no serious issue happens on Linux
option
(
KICAD_USE_WEBKIT
option
(
KICAD_USE_WEBKIT
"Use system web kit to build a web viewer in footprint library wizard to easily select github libraries (default ON)."
"Use system web kit to build a web viewer in footprint library wizard to easily select github libraries (default ON)."
ON
ON
...
@@ -419,7 +419,7 @@ add_definitions( -DWX_COMPATIBILITY )
...
@@ -419,7 +419,7 @@ add_definitions( -DWX_COMPATIBILITY )
# See line 41 of CMakeModules/FindwxWidgets.cmake
# See line 41 of CMakeModules/FindwxWidgets.cmake
set
(
wxWidgets_CONFIG_OPTIONS --static=no
)
set
(
wxWidgets_CONFIG_OPTIONS --static=no
)
if
(
KICAD_USE_WEBKIT
)
if
(
KICAD_USE_WEBKIT
AND BUILD_GITHUB_PLUGIN
)
set
(
webkitlib
"webview"
)
set
(
webkitlib
"webview"
)
else
()
else
()
set
(
webkitlib
""
)
set
(
webkitlib
""
)
...
...
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