Skip to content

Commit 0f286d8

Browse files
committed
update CMakeLists.txt
1 parent 1962378 commit 0f286d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
# Vix.cpp | DB module (core anti-ORM)
1010
cmake_minimum_required(VERSION 3.20)
1111

12-
project(vix_db VERSION 0.1.0 LANGUAGES CXX)
12+
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
13+
project(vix_db VERSION 0.1.0 LANGUAGES CXX)
14+
endif()
1315

1416
include(GNUInstallDirs)
1517

0 commit comments

Comments
 (0)