mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
8f4da2ec62
This fixes the cmake build when using openvpn3 standonline Signed-off-by: Arne Schwabe <arne@openvpn.net>
21 lines
475 B
CMake
21 lines
475 B
CMake
# Cmake in OpenVPN3 core is mainly used to get Clion editior support and to run unit tests. For normal
|
|
# Build instructions see the README.rst
|
|
|
|
cmake_policy(SET CMP0048 NEW)
|
|
project(OpenVPN3-core VERSION 3)
|
|
|
|
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}")
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
add_subdirectory(test/unittests)
|
|
add_subdirectory(test/ovpncli)
|
|
add_subdirectory(test/ssl)
|
|
|
|
|
|
if (WIN32)
|
|
add_subdirectory(openvpn/omi)
|
|
endif ()
|
|
|