From 1a4bd60b7fa94252378514dab38febee51120b4c Mon Sep 17 00:00:00 2001 From: Catalin Iacob Date: Sun, 11 Apr 2010 19:38:09 +0200 Subject: 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. --- ApiExtractorConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ApiExtractorConfig.cmake.in') diff --git a/ApiExtractorConfig.cmake.in b/ApiExtractorConfig.cmake.in index 3faf366bb..88ddcae4b 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@") -- cgit v1.2.3