Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
DrawSVG
Commits
3051ae9b
Commit
3051ae9b
authored
Feb 25, 2018
by
Umang Wadhwa
Browse files
Added reference solution support for newer versions of gcc.
parent
f80c9a07
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/reference/libdrawsvgref.a
100755 → 100644
View file @
3051ae9b
No preview for this file type
src/reference/libdrawsvgref_old.a
0 → 100755
View file @
3051ae9b
File added
src/reference/reference.cmake
View file @
3051ae9b
...
...
@@ -32,8 +32,13 @@ else(DRAWSVG_BUILD_REFERENCE)
# Import reference
if
(
UNIX
)
set_property
(
TARGET drawsvg_ref PROPERTY IMPORTED_LOCATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/reference/libdrawsvgref.a
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.2
)
set_property
(
TARGET drawsvg_ref PROPERTY IMPORTED_LOCATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/reference/libdrawsvgref.a
)
else
()
set_property
(
TARGET drawsvg_ref PROPERTY IMPORTED_LOCATION
${
CMAKE_CURRENT_SOURCE_DIR
}
/reference/libdrawsvgref_old.a
)
endif
()
endif
(
UNIX
)
if
(
APPLE
)
...
...
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