22 lines
845 B
CMake
22 lines
845 B
CMake
#
|
|
# This file was taken from RakNet 4.082.
|
|
# Please see licenses/RakNet license.txt for the underlying license and related copyright.
|
|
#
|
|
#
|
|
# Modified work: Copyright (c) 2019, SLikeSoft UG (haftungsbeschränkt)
|
|
#
|
|
# This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
|
|
# license found in the license.txt file in the root directory of this source tree.
|
|
#
|
|
|
|
project(MySQLInterface)
|
|
IF(NOT WIN32 AND UNIX)
|
|
FILE(GLOB ALL_HEADER_SRCS *.h)
|
|
FILE(GLOB ALL_CPP_SRCS *.cpp)
|
|
FINDMYSQL()
|
|
include_directories(./ ${SLIKENET_HEADER_FILES} ${MYSQL_INCLUDE_DIR})
|
|
add_library(LibMySQLInterface STATIC ${ALL_CPP_SRCS} ${ALL_HEADER_SRCS})
|
|
target_link_libraries (LibMySQLInterface ${SLIKENET_COMMON_LIBS} ${MYSQL_LIBRARIES})
|
|
VSUBFOLDER(LibMySQLInterface "DependentExtensions")
|
|
ENDIF(NOT WIN32 AND UNIX)
|