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
f1925912
Commit
f1925912
authored
Mar 19, 2008
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMakeLists.txt formatting.
parent
357bb969
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
CMakeLists.txt
CMakeLists.txt
+6
-5
CMakeLists.txt
kicad/minizip/CMakeLists.txt
+6
-6
No files found.
CMakeLists.txt
View file @
f1925912
...
@@ -38,7 +38,7 @@ if(UNIX)
...
@@ -38,7 +38,7 @@ if(UNIX)
# When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
# When used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
set
(
KICAD_PLUGINS lib/kicad/plugins CACHE PATH
"Location of KiCad plugins."
)
set
(
KICAD_PLUGINS lib/kicad/plugins CACHE PATH
"Location of KiCad plugins."
)
set
(
KICAD_DATA share/kicad CACHE PATH
"Location of KiCad data files."
)
set
(
KICAD_DATA share/kicad CACHE PATH
"Location of KiCad data files."
)
SET
(
KICAD_DOCS share/doc/kicad CACHE PATH
"Location of KiCad documentation files."
)
set
(
KICAD_DOCS share/doc/kicad CACHE PATH
"Location of KiCad documentation files."
)
endif
(
APPLE
)
endif
(
APPLE
)
endif
(
UNIX
)
endif
(
UNIX
)
...
@@ -48,7 +48,7 @@ if(WIN32)
...
@@ -48,7 +48,7 @@ if(WIN32)
# When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
# When used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX.
set
(
KICAD_PLUGINS
${
KICAD_BIN
}
/plugins
)
set
(
KICAD_PLUGINS
${
KICAD_BIN
}
/plugins
)
set
(
KICAD_DATA share CACHE PATH
"Location of KiCad data files."
)
set
(
KICAD_DATA share CACHE PATH
"Location of KiCad data files."
)
SET
(
KICAD_DOCS doc
)
set
(
KICAD_DOCS doc
)
endif
(
WIN32
)
endif
(
WIN32
)
set
(
KICAD_DEMOS
${
KICAD_DATA
}
/demos
)
set
(
KICAD_DEMOS
${
KICAD_DATA
}
/demos
)
...
@@ -108,7 +108,8 @@ add_subdirectory(template)
...
@@ -108,7 +108,8 @@ add_subdirectory(template)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/install.txt DESTINATION
${
KICAD_DOCS
}
COMPONENT resources
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/install.txt DESTINATION
${
KICAD_DOCS
}
COMPONENT resources
)
if
(
UNIX
)
if
(
UNIX
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/share/kicad.desktop DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications COMPONENT resources
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/share/kicad.desktop
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/bitmaps/kicad.png DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps COMPONENT resources
)
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/applications COMPONENT resources
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/bitmaps/kicad.png
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/pixmaps COMPONENT resources
)
endif
(
UNIX
)
endif
(
UNIX
)
kicad/minizip/CMakeLists.txt
View file @
f1925912
...
@@ -8,7 +8,7 @@ else(ZLIB_FOUND)
...
@@ -8,7 +8,7 @@ else(ZLIB_FOUND)
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
# include files are in ${wxWidgets_ROOT_DIR}/src/zlib
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
# and the corresponding library is libwxzlib-<version>.a (like libwxzlib-2.8.a)
# and we try to use it
# and we try to use it
INCLUDE_DIRECTORIES
(
${
wxWidgets_ROOT_DIR
}
/src/zlib
)
include_directories
(
${
wxWidgets_ROOT_DIR
}
/src/zlib
)
set
(
ZLIB_LIBRARIES
${
wxWidgets_ROOT_DIR
}
/lib/libwxzlib-2.8.a
)
set
(
ZLIB_LIBRARIES
${
wxWidgets_ROOT_DIR
}
/lib/libwxzlib-2.8.a
)
endif
(
ZLIB_FOUND
)
endif
(
ZLIB_FOUND
)
...
...
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