aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractorConfig.cmake.in
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-18 17:30:17 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:08 -0300
commitde371608299b190ba310923a99ef2619bf632cd3 (patch)
treea24412d8659ed294a6ba7c7b2fe6635d0f852022 /ApiExtractorConfig.cmake.in
parent6e5ab7a42253697511a5153a80b66760a04e5f45 (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>
Diffstat (limited to 'ApiExtractorConfig.cmake.in')
-rw-r--r--ApiExtractorConfig.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/ApiExtractorConfig.cmake.in b/ApiExtractorConfig.cmake.in
index f36c13f8..70fc794e 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()