From 593112ccb1fbf3db84bd297f2d8a1b60d1712a29 Mon Sep 17 00:00:00 2001 From: Youssef BEDDAD Date: Fri, 20 May 2022 12:41:09 +0100 Subject: [PATCH] Update: - add -qt{QT_MAJOR_VERSION} at the end of the created library --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf9c49a..6257b8c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -342,6 +342,8 @@ set(GLOBAL_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/config.h ) +set(PROJECT_NAME ${PROJECT_NAME}-qt${QT_VERSION_MAJOR}) + if (LIMEREPORT_STATIC) message(STATUS "STATIC LIBRARY") add_library(${PROJECT_NAME} STATIC ${EXTRA_FILES} ${LIMEREPORT_SOURCES})