Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
4416b48d
Commit
4416b48d
authored
Apr 24, 2020
by
Niklas Eiling
Browse files
require only cmake 3.11 and make policies requiring a newer version optional
parent
7ca0828b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
4416b48d
cmake_minimum_required
(
VERSION 3.1
3
)
cmake_minimum_required
(
VERSION 3.1
1
)
project
(
DPsim CXX
)
set
(
PROJECT_AUTHOR
"Institute for Automation of Complex Power Systems, RWTH Aachen University"
)
...
...
@@ -8,9 +8,13 @@ set(PROJECT_HOMEPAGE_URL "https://dpsim.fein-aachen.org/")
set
(
PROJECT_VCS_URL
"https://git.rwth-aachen.org/acs/public/simulation/dpsim"
)
# Required for dpsim_python
cmake_policy
(
SET CMP0076 NEW
)
if
(
POLICY CMP0076
)
cmake_policy
(
SET CMP0076 NEW
)
endif
()
# Allow setting Graphviz_ROOT for windows builds
cmake_policy
(
SET CMP0074 NEW
)
if
(
WIN32
)
cmake_policy
(
SET CMP0074 NEW
)
endif
()
if
(
CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME
)
set
(
TOPLEVEL_PROJECT ON
)
...
...
Write
Preview
Supports
Markdown
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