diff --git a/cmake/modules/KDEWinConfig.cmake.in b/cmake/modules/KDEWinConfig.cmake.in index 60964f1..ac77ee0 100644 --- a/cmake/modules/KDEWinConfig.cmake.in +++ b/cmake/modules/KDEWinConfig.cmake.in @@ -1,24 +1,27 @@ # - Config file for the KDEWin package # It defines the following variables # KDEWIN_DEFINITIONS - contains the definitions needed to build against kdewin # KDEWIN_VERSION - the version of the kdewin library as a number # KDEWIN_VERSION_STR - the version of the kdewin library as a string # KDEWIN_MINGW_W32 - if this library has been compiled with the 32bit compiler of mingw-w64 project # for usage by configure checks # KDEWIN_INCLUDES - the kdewin include directories +# KDEWIN_LIBRARIES - the library target name get_filename_component(KDEWIN_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) set(KDEWIN_INCLUDE_DIR "${KDEWIN_CMAKE_DIR}/../../../include") +set(KDEWIN_LIBRARY kdewin) +set(KDEWIN_LIBRARIES ${KDEWIN_LIBRARY}) set(KDEWIN_INCLUDES ${KDEWIN_INCLUDE_DIR} @KDEWIN_PLATFORM_INCLUDES@) # Our library dependencies (contains definitions for IMPORTED targets) include("${KDEWIN_CMAKE_DIR}/KDEWinTargets.cmake") @MSSDK_DIR_CMD@ set(KDEWIN_MINGW_W32 @MINGW_W32@) set(KDEWIN_DEFINITIONS @KDEWIN_DEFINITIONS@) set(KDEWIN_VERSION @KDEWIN_VERSION@) set(KDEWIN_VERSION_STR @KDEWIN_VERSION_STR@)