comparison OrthancServer/Plugins/Samples/ConnectivityChecks/CMakeLists.txt @ 4171:822d3a17d797

better fix for CMP0058
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 01 Sep 2020 17:55:42 +0200
parents 3d6ee570cfb2
children 8992faf451fc
comparison
equal deleted inserted replaced
4169:e8005a58de16 4171:822d3a17d797
16 # You should have received a copy of the GNU General Public License 16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19 19
20 cmake_minimum_required(VERSION 2.8) 20 cmake_minimum_required(VERSION 2.8)
21 cmake_policy(SET CMP0058 NEW)
21 22
22 project(ConnectivityChecks) 23 project(ConnectivityChecks)
23 24
24 SET(PLUGIN_NAME "connectivity-checks" CACHE STRING "Name of the plugin") 25 SET(PLUGIN_NAME "connectivity-checks" CACHE STRING "Name of the plugin")
25 SET(PLUGIN_VERSION "mainline" CACHE STRING "Version of the plugin") 26 SET(PLUGIN_VERSION "mainline" CACHE STRING "Version of the plugin")