From a03780718e5ff2225f53813180c06f0b0167e836 Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Fri, 12 Jan 2024 09:17:14 +0100 Subject: [PATCH] Fixed path when building as submodule --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 298343e0d..60ac7bde0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ else() # Standard behaviour use libzmq included in this repo (libs/libzmq) FetchContent_Declare( libzmq - URL ${CMAKE_SOURCE_DIR}/libs/libzmq/libzmq-4.3.4.tar.gz + URL ${CMAKE_CURRENT_SOURCE_DIR}/libs/libzmq/libzmq-4.3.4.tar.gz URL_HASH MD5=cc20b769ac10afa352e5ed2769bb23b3 ) endif()