1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-12 23:02:59 +03:00
SoftEtherVPN/CMakeLists.txt
Ilya Shipitsin bec58b86a4 ignore temp cmake files
check whether cloned recursively during cmake build
2018-08-07 20:38:06 +05:00

13 lines
451 B
CMake

cmake_minimum_required(VERSION 3.4.3)
project(SoftEtherVPN LANGUAGES C)
set(default_build_type "Release")
# Check that submodules are present only if source was downloaded with git
if(EXISTS "${SoftEtherVPN_SOURCE_DIR}/.git" AND NOT EXISTS "${SoftEtherVPN_SOURCE_DIR}/src/Mayaqua/cpu_features/CMakeLists.txt")
message (FATAL_ERROR "Submodules are not initialized. Run\n\tgit submodule update --init --recursive")
endif()
add_subdirectory(src)