summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-11 18:43:57 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-15 14:01:54 -0300
commita6e5c09a32b7f5eff5dd35664bb4bf8fa55886ed (patch)
treee99e106807cedb2e510410750e3dc66f43b71f03
parentae2d4d290427a734acc071d5e4b07ff8c4f5f68a (diff)
downloadgeneratorrunner-a6e5c09a32b7f5eff5dd35664bb4bf8fa55886ed.tar.gz
generatorrunner-a6e5c09a32b7f5eff5dd35664bb4bf8fa55886ed.tar.xz
generatorrunner-a6e5c09a32b7f5eff5dd35664bb4bf8fa55886ed.zip
Fix instalation on MSVC.
-rw-r--r--GeneratorRunnerConfig.cmake.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/GeneratorRunnerConfig.cmake.in b/GeneratorRunnerConfig.cmake.in
index 80ab047..ff9b733 100644
--- a/GeneratorRunnerConfig.cmake.in
+++ b/GeneratorRunnerConfig.cmake.in
@@ -3,5 +3,9 @@
# GENERATORRUNNER_PLUGIN_DIR - Where to find/put plugins for generator runner
SET(GENERATORRUNNER_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/generatorrunner")
-SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@CMAKE_SHARED_LIBRARY_SUFFIX@")
+if(MSVC)
+ SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner.lib")
+else()
+ SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@CMAKE_SHARED_LIBRARY_SUFFIX@")
+endif()
SET(GENERATORRUNNER_PLUGIN_DIR @generator_plugin_DIR@)