Commit 4bacb88d authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove weird variable assignment

While having no impact on the build result the code is very fishy
parent bc49901e
......@@ -46,8 +46,7 @@ option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant,
add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
set(KF5_MIN_VERSION ${PROJECT_VERSION}) #When we are happy with the api, we can sync with frameworks
ecm_setup_version(${KF5_MIN_VERSION} VARIABLE_PREFIX KSCREEN
ecm_setup_version(${PROJECT_VERSION} VARIABLE_PREFIX KSCREEN
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kscreen_version.h"
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ScreenConfigVersion.cmake"
SOVERSION 7)
......
......@@ -95,7 +95,7 @@ if(BUILD_QCH)
KF5Screen_QCH
NAME KScreen
BASE_NAME KF5Screen
VERSION ${KF5_MIN_VERSION}
VERSION ${PROJECT_VERSION}
ORG_DOMAIN org.kde
SOURCES # using only public headers, to cover only public API
${KScreen_REQ_HEADERS}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment