libopenssl: add license

Tue, 18 Oct 2016 18:23:18 +0200

author
David Demelier <markand@malikania.fr>
date
Tue, 18 Oct 2016 18:23:18 +0200
changeset 6
e6086f36552e
parent 5
01c5cb818797
child 7
3890971a28e8

libopenssl: add license

libopenssl/CMakeLists.txt file | annotate | diff | comparison | revisions
--- a/libopenssl/CMakeLists.txt	Tue Oct 18 18:22:14 2016 +0200
+++ b/libopenssl/CMakeLists.txt	Tue Oct 18 18:23:18 2016 +0200
@@ -1,27 +1,45 @@
-cmake_minimum_required(VERSION 3.5)
-project(libopenssl)
-include(ExternalProject)
-
-find_package(Perl REQUIRED)
-
-if (MSVC)
-    if (CMAKE_SIZEOF_VOID_P MATCHES 8)
-        set(TGT "VC-WIN64A")
-    else ()
-        set(TGT "VC-WIN32")
-    endif ()
-
-    ExternalProject_Add(
-        libopenssl
-        SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/libopenssl
-        BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/libopenssl
-        URL ftp://ftp.openssl.org/source/openssl-1.1.0.tar.gz
-        URL_HASH SHA1=15e651c40424abdaeba5d5c1a8658e8668e798c8
-        CONFIGURE_COMMAND
-            ${PERL_EXECUTABLE} Configure $<$<CONFIG:Debug>:debug->${TGT} no-asm shared --prefix=${CMAKE_INSTALL_PREFIX} --openssldir=${CMAKE_INSTALL_PREFIX}
-        BUILD_COMMAND
-            nmake
-        INSTALL_COMMAND
-            nmake install
-    )
-endif ()
\ No newline at end of file
+#
+# CMakeLists.txt -- build for libopenssl
+#
+# Copyright (c) 2016 David Demelier <markand@malikania.fr>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+
+cmake_minimum_required(VERSION 3.5)
+project(libopenssl)
+include(ExternalProject)
+
+find_package(Perl REQUIRED)
+
+if (MSVC)
+    if (CMAKE_SIZEOF_VOID_P MATCHES 8)
+        set(TGT "VC-WIN64A")
+    else ()
+        set(TGT "VC-WIN32")
+    endif ()
+
+    ExternalProject_Add(
+        libopenssl
+        SOURCE_DIR ${CMAKE_CURRENT_BINARY_DIR}/libopenssl
+        BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/libopenssl
+        URL ftp://ftp.openssl.org/source/openssl-1.1.0.tar.gz
+        URL_HASH SHA1=15e651c40424abdaeba5d5c1a8658e8668e798c8
+        CONFIGURE_COMMAND
+            ${PERL_EXECUTABLE} Configure $<$<CONFIG:Debug>:debug->${TGT} no-asm shared --prefix=${CMAKE_INSTALL_PREFIX} --openssldir=${CMAKE_INSTALL_PREFIX}
+        BUILD_COMMAND
+            nmake
+        INSTALL_COMMAND
+            nmake install
+    )
+endif ()

mercurial