summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorYaakov <yselkowitz@users.sourceforge.net>2011-10-27 14:42:40 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2011-10-27 14:42:40 -0200
commitb6f64d342c0dd3926eb675c75f040d12840a9043 (patch)
treee0bbf653791588a45bc35240957c36dd64e88026 /data
parentc09b41d09861d1b2ac801188d92fce84aa3114f5 (diff)
downloadgeneratorrunner-b6f64d342c0dd3926eb675c75f040d12840a9043.tar.gz
generatorrunner-b6f64d342c0dd3926eb675c75f040d12840a9043.tar.xz
generatorrunner-b6f64d342c0dd3926eb675c75f040d12840a9043.zip
Fix bug 1009 - "GeneratorRunner Cygwin patch"
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'data')
-rw-r--r--data/GeneratorRunnerConfig.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/GeneratorRunnerConfig.cmake.in b/data/GeneratorRunnerConfig.cmake.in
index f8bc898..cf973e2 100644
--- a/data/GeneratorRunnerConfig.cmake.in
+++ b/data/GeneratorRunnerConfig.cmake.in
@@ -6,6 +6,8 @@
SET(GENERATORRUNNER_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/generatorrunner@generator_SUFFIX@")
if(MSVC)
SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@.lib")
+elseif(CYGWIN)
+ SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_IMPORT_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_IMPORT_LIBRARY_SUFFIX@")
elseif(WIN32)
SET(GENERATORRUNNER_LIBRARY "@CMAKE_INSTALL_PREFIX@/bin/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
else()