Skip to content

Commit 8454f05

Browse files
committed
Fix MISSING LICENSE file on packages
Remove COPYING file
1 parent 8ff6a68 commit 8454f05

File tree

2 files changed

+4
-343
lines changed

2 files changed

+4
-343
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/driver/version_info.h.cmake
5757
${CMAKE_BINARY_DIR}/driver/version_info.h @ONLY)
5858

5959
# This is needed by windows installer and fro CPACK
60-
IF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
61-
SET(LICENSE_FILENAME "${CMAKE_SOURCE_DIR}/COPYING")
62-
ELSE(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
60+
IF(EXISTS "${CMAKE_SOURCE_DIR}/LICENSE.mysql")
6361
SET(LICENSE_FILENAME "${CMAKE_SOURCE_DIR}/LICENSE.mysql")
64-
ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/COPYING")
62+
ELSE(EXISTS "${CMAKE_SOURCE_DIR}/LICENSE.mysql")
63+
SET(LICENSE_FILENAME "${CMAKE_SOURCE_DIR}/LICENSE")
64+
ENDIF(EXISTS "${CMAKE_SOURCE_DIR}/LICENSE.mysql")
6565

6666
# Creating file with version info that will be used for installer
6767
# We have to do this trick because of license filename that is looked in this CMAKE_SOURCE_DIR (installer's cmake is run separately)

COPYING

Lines changed: 0 additions & 339 deletions
This file was deleted.

0 commit comments

Comments
 (0)