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
b08c85f6
Commit
b08c85f6
authored
Dec 31, 2013
by
Marco Serantoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MacOSX] Removing freetype dependecy for Cairo (uses cocoa font management)
parent
2d53c8ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
download_cairo.cmake
CMakeModules/download_cairo.cmake
+3
-2
No files found.
CMakeModules/download_cairo.cmake
View file @
b08c85f6
...
@@ -41,7 +41,7 @@ if (APPLE)
...
@@ -41,7 +41,7 @@ if (APPLE)
if
(
CMAKE_OSX_ARCHITECTURES
)
if
(
CMAKE_OSX_ARCHITECTURES
)
set
(
CAIRO_CFLAGS
"CFLAGS=-arch
${
CMAKE_OSX_ARCHITECTURES
}
"
)
set
(
CAIRO_CFLAGS
"CFLAGS=-arch
${
CMAKE_OSX_ARCHITECTURES
}
"
)
set
(
CAIRO_LDFLAGS
"LDFLAGS=-arch
${
CMAKE_OSX_ARCHITECTURES
}
-framework CoreServices -framework Cocoa"
)
set
(
CAIRO_LDFLAGS
"LDFLAGS=-arch
${
CMAKE_OSX_ARCHITECTURES
}
-framework CoreServices -framework Cocoa"
)
set
(
CAIRO_OPTS
"--enable-quartz-image"
)
set
(
CAIRO_OPTS
--enable-ft=no
)
endif
(
CMAKE_OSX_ARCHITECTURES
)
endif
(
CMAKE_OSX_ARCHITECTURES
)
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
if
(
CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
...
@@ -80,6 +80,7 @@ ExternalProject_Add( cairo
...
@@ -80,6 +80,7 @@ ExternalProject_Add( cairo
--disable-silent-rules --disable-dependency-tracking
--disable-silent-rules --disable-dependency-tracking
${
CAIRO_CFLAGS
}
${
CAIRO_CFLAGS
}
${
CAIRO_LDFLAGS
}
${
CAIRO_LDFLAGS
}
${
CAIRO_OPTS
}
#BINARY_DIR "${PREFIX}"
#BINARY_DIR "${PREFIX}"
...
...
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