diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-18 17:30:17 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:08 -0300 |
commit | de371608299b190ba310923a99ef2619bf632cd3 (patch) | |
tree | a24412d8659ed294a6ba7c7b2fe6635d0f852022 | |
parent | 6e5ab7a42253697511a5153a80b66760a04e5f45 (diff) |
Use binary dir to install libraries on windows when not using msvc.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r-- | ApiExtractorConfig.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ApiExtractorConfig.cmake.in b/ApiExtractorConfig.cmake.in index f36c13f8d..70fc794e4 100644 --- a/ApiExtractorConfig.cmake.in +++ b/ApiExtractorConfig.cmake.in @@ -5,6 +5,8 @@ SET(APIEXTRACTOR_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/apiextractor") if(MSVC) SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor.lib") +elseif(WIN32) + SET(APIEXTRACTOR_LIBRARY "@CMAKE_INSTALL_PREFIX@/bin/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@CMAKE_SHARED_LIBRARY_SUFFIX@") else() SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@CMAKE_SHARED_LIBRARY_SUFFIX@") endif() |