27 lines
1.0 KiB
CMake
27 lines
1.0 KiB
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(Autopatcher)
|
|
IF (UNIX AND NOT WIN32)
|
|
FILE(GLOB ALL_HEADER_SRCS *.h)
|
|
FILE(GLOB ALL_CPP_SRCS *.cpp)
|
|
include_directories(${SLIKENET_HEADER_FILES} ./ ${bzip2-1.0.3_SOURCE_DIR})
|
|
add_library(LibAutopatcher STATIC ${ALL_CPP_SRCS} ${ALL_HEADER_SRCS})
|
|
target_link_libraries (LibAutopatcher ${SLIKENET_COMMON_LIBS} LibBZip2)
|
|
ENDIF(UNIX AND NOT WIN32)
|
|
IF(USEMYSQL AND NOT DISABLEDEPENDENCIES)
|
|
add_subdirectory(AutopatcherMySQLRepository)
|
|
ENDIF(USEMYSQL AND NOT DISABLEDEPENDENCIES)
|
|
IF(USEPOSTGRESQL AND NOT DISABLEDEPENDENCIES)
|
|
add_subdirectory(AutopatcherPostgreRepository)
|
|
ENDIF(USEPOSTGRESQL AND NOT DISABLEDEPENDENCIES)
|
|
|