summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorJoshua L. Blocher <verbalshadow@gmail.com>2008-04-28 21:38:04 +0000
committerverbalshadow <verbalshadow@users.sourceforge.net>2008-04-28 21:38:04 +0000
commit8db539377285d9391000c938f2e608b9e01a7353 (patch)
tree02c1641a5ee8229d93fd064e6a2fb3c6fa589f5f /CMakeScripts
parentFurther fix for sign handling of the SVG path data parser. (diff)
downloadinkscape-8db539377285d9391000c938f2e608b9e01a7353.tar.gz
inkscape-8db539377285d9391000c938f2e608b9e01a7353.zip
Cmake: Fixed optional dependency linking
(bzr r5539)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigInkscapeDepends.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake
index 47224ecd6..af826ed1f 100644
--- a/CMakeScripts/ConfigInkscapeDepends.cmake
+++ b/CMakeScripts/ConfigInkscapeDepends.cmake
@@ -66,7 +66,7 @@ FOREACH(opt ${INKSCAPE_OPTIONAL})
IF("${opt}_FOUND")
message(STATUS "${opt}: FOUND")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dep_name}_CFLAGS}")
- SET(INKSCAPE_LINK_FLAGS "${INKSCAPE_LINK_FLAGS} ${${dep_name}_LINK_FLAGS}")
+ SET(INKSCAPE_LINK_FLAGS "${INKSCAPE_LINK_FLAGS} ${${opt_name}_LINK_FLAGS}")
ELSE("${opt}_FOUND")
message(STATUS "${opt}: NOT FOUND")
ENDIF("${opt}_FOUND")