fix using as submodule

This commit is contained in:
BlackMATov
2021-08-06 03:15:39 +07:00
parent 6b69a31724
commit 072eabf36b
3 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
if(NOT DEFINED PROJECT_NAME)
set(BUILD_AS_STANDALONE ON)
else()
set(BUILD_AS_STANDALONE OFF)
endif()
project(meta.hpp)