Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenFlipper-Free
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
d4ce2880
Commit
d4ce2880
authored
Oct 12, 2016
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled and enforced C++-11, Minimal tested Qt Version set to 5.6
parent
b48a52b4
Pipeline
#3030
passed with stage
in 64 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
CMakeLists.txt
CMakeLists.txt
+8
-2
No files found.
CMakeLists.txt
View file @
d4ce2880
cmake_minimum_required
(
VERSION 2.8.9
)
# Force minimal cmake version
# Required 3.1 to set C++11
cmake_minimum_required
(
VERSION 3.1.0 FATAL_ERROR
)
# Set and enforce C++-11 flags
set
(
CXX_STANDARD_REQUIRED TRUE
)
set
(
CMAKE_CXX_STANDARD 11
)
# ACG Environment default settings
# This is ugly but currently we need to work around the default installed 5.3 on debian
...
...
@@ -128,7 +134,7 @@ if (QT4_FOUND)
message
(
STATUS
"Using QT4 for OpenFlipper"
)
elseif
(
QT5_FOUND
)
message
(
STATUS
"Using QT5 for OpenFlipper"
)
set
(
OF_MAX_QT_VERSION
"5.
5.1
"
)
set
(
OF_MAX_QT_VERSION
"5.
6.0
"
)
if
(
${
Qt5Core_VERSION_STRING
}
STRGREATER
${
OF_MAX_QT_VERSION
}
)
message
(
WARNING
"Detected QT Version higher than
${
OF_MAX_QT_VERSION
}
!
\n
"
"OpenFlipper has not been tested with this QT Version on Windows."
)
...
...
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