From c83a3bbd721b18e3c2a0ececbfb30db3098ac617 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Sat, 23 May 2020 17:16:04 +1000 Subject: [CMakeLists.txt] Move `project` below `cmake_minimum_required`; fix indentation in its `if`/`else` block; [tap-driver.sh] Copyright line update (was automatic with `./autogen.sh`) --- CMakeLists.txt | 11 ++++++----- tap-driver.sh | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a56f2e6..debaac4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,12 @@ if(MSVC) -cmake_minimum_required (VERSION 3.16.4) -cmake_policy(SET CMP0091 NEW) + cmake_minimum_required (VERSION 3.16.4) + cmake_policy(SET CMP0091 NEW) else() -cmake_minimum_required (VERSION 3.0) + cmake_minimum_required (VERSION 3.0) endif() + +project (LibreSSL C ASM) + include(CheckFunctionExists) include(CheckSymbolExists) include(CheckLibraryExists) @@ -14,8 +17,6 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" ${CMAKE_MODULE_PATH}) include(cmake_export_symbol) include(GNUInstallDirs) -project (LibreSSL C ASM) - enable_testing() file(READ ${CMAKE_CURRENT_SOURCE_DIR}/ssl/VERSION SSL_VERSION) diff --git a/tap-driver.sh b/tap-driver.sh index 2516e9c..865761d 100755 --- a/tap-driver.sh +++ b/tap-driver.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2018 Free Software Foundation, Inc. +# Copyright (C) 2011-2020 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -- cgit v1.2.3-55-g6feb