From 0b38ec5736eaa7367c0c9dded959d1f0c0e25741 Mon Sep 17 00:00:00 2001 From: hurricane1026 Date: Sat, 2 Mar 2024 02:41:39 +0800 Subject: [PATCH] skip the CMAKE_MODULE_PATH var, directly using full path. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5968577..86cd903 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ set(PROJECT_DESCRIPTION "The FastPFOR C++ library: Fast integer compression") set(PROJECT_VERSION "0.1.9") include(DetectCPUFeatures) -include("${CMAKE_MODULE_PATH}/environment.cmake") +include("${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/environment.cmake") message("Building for architecture: ${CMAKE_SYSTEM_PROCESSOR}")