aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractorConfig.cmake.in
diff options
context:
space:
mode:
authorCatalin Iacob <iacobcatalin@gmail.com>2010-04-11 19:38:09 +0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:02 -0300
commit1a4bd60b7fa94252378514dab38febee51120b4c (patch)
tree12877dcef007bb680817ca23920df18fe98b46ef /ApiExtractorConfig.cmake.in
parentad4b2999f4c29946ebaf8969503f40211b272ba4 (diff)
Fix files to link against on Windows.
On Windows there is a distinction between a DLL (foo.dll) and the import library (foo.lib) that a program links to in order to use that DLL. It seems that CMAKE_LINK_LIBRARY_SUFFIX is perfect for this distinction - the suffix will be .lib on Windows and .so on Linux.
Diffstat (limited to 'ApiExtractorConfig.cmake.in')
-rw-r--r--ApiExtractorConfig.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ApiExtractorConfig.cmake.in b/ApiExtractorConfig.cmake.in
index 3faf366b..88ddcae4 100644
--- a/ApiExtractorConfig.cmake.in
+++ b/ApiExtractorConfig.cmake.in
@@ -3,4 +3,4 @@
# APIEXTRACTOR_LIBRARIES - Files to link against to use APIEXTRACTOR
SET(APIEXTRACTOR_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/apiextractor")
-SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@apiextractor@CMAKE_SHARED_LIBRARY_SUFFIX@")
+SET(APIEXTRACTOR_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_LINK_LIBRARY_PREFIX@apiextractor@CMAKE_LINK_LIBRARY_SUFFIX@")