- add -qt{QT_MAJOR_VERSION} at the end of the created library
This commit is contained in:
Youssef BEDDAD 2022-05-20 12:41:09 +01:00
parent 747346b413
commit 593112ccb1

View File

@ -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})