Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM EventViews
Commits
5f7a58f9
Commit
5f7a58f9
authored
Dec 15, 2020
by
Laurent Montel
Browse files
GIT_SILENT: Fix typo
parent
9d9e0957
Pipeline
#44201
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5f7a58f9
...
...
@@ -61,14 +61,14 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX EVENTVIEWS
PACKAGE_VERSION_FILE
"
${
CMAKE_CURRENT_BINARY_DIR
}
/KF5EventViewsConfigVersion.cmake"
SOVERSION 5
)
option
(
USE_UNI
F
Y_CMAKE_SUPPORT
"Use UNI
F
Y cmake support (speedup compile time)"
FALSE
)
option
(
USE_UNI
T
Y_CMAKE_SUPPORT
"Use UNI
T
Y cmake support (speedup compile time)"
FALSE
)
set
(
COMPILE_WITH_CMAKE_SUPPORT false
)
if
(
USE_UNI
F
Y_CMAKE_SUPPORT
)
set
(
COMPILE_WITH_
UNITY_
CMAKE_SUPPORT false
)
if
(
USE_UNI
T
Y_CMAKE_SUPPORT
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.16.0"
)
message
(
STATUS
"CMAKE version is less than 3.16.0 . We can't use cmake unify build support"
)
else
()
set
(
COMPILE_WITH_CMAKE_SUPPORT true
)
set
(
COMPILE_WITH_
UNITY_
CMAKE_SUPPORT true
)
endif
()
endif
()
...
...
src/CMakeLists.txt
View file @
5f7a58f9
...
...
@@ -80,7 +80,7 @@ ki18n_wrap_ui(eventviews_LIB_SRCS
)
add_library
(
KF5EventViews
${
eventviews_LIB_SRCS
}
)
if
(
COMPILE_WITH_CMAKE_SUPPORT
)
if
(
COMPILE_WITH_
UNITY_
CMAKE_SUPPORT
)
set_target_properties
(
KF5EventViews PROPERTIES UNITY_BUILD ON
)
endif
()
generate_export_header
(
KF5EventViews BASE_NAME eventviews
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment