From 83def3c767847e1e5cad69d392881e95b4d4e4d3 Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Mon, 13 Nov 2023 15:34:23 +0000 Subject: [PATCH] build: fix module path --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6325e9c06..76e4324a9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.20.0) project(cubos VERSION 0.1.0) -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake/") set(CMAKE_CXX_STANDARD 20)