Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KFloppy
Commits
8db375e4
Commit
8db375e4
authored
Mar 30, 2021
by
Laurent Montel
😁
Browse files
Time to increase dependancy
parent
71b90c00
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8db375e4
...
...
@@ -12,8 +12,8 @@ if(NOT UNIX)
message
(
FATAL_ERROR
"KFloppy is only supposed to be built on Unix platforms."
)
endif
(
NOT UNIX
)
set
(
KF5_MIN_VERSION
"5.
5
8.0"
)
set
(
REQUIRED_QT_VERSION
"5.1
2
.0"
)
set
(
KF5_MIN_VERSION
"5.8
0
.0"
)
set
(
REQUIRED_QT_VERSION
"5.1
4
.0"
)
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
...
...
@@ -30,7 +30,8 @@ find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Widgets)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS I18n CoreAddons Completion DocTools XmlGui
)
find_package
(
KF5Crash
${
KF5_MIN_VERSION
}
CONFIG REQUIRED
)
add_definitions
(
-DQT_NO_FOREACH
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x050e00
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055100
)
set
(
kfloppy_SRCS main.cpp format.cpp floppy.cpp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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