From 84c1aff46e8970308ce40c668b2b5e0d5d015c93 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Tue, 4 Jan 2022 16:12:56 +0100
Subject: [PATCH] Bug fix: correct path to mod files

This did not produce an error because the mod files are also in
`${CMAKE_CURRENT_BINARY_DIR}`.
---
 Inst_eddies/Tests/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Inst_eddies/Tests/CMakeLists.txt b/Inst_eddies/Tests/CMakeLists.txt
index d17b31a4..06569114 100644
--- a/Inst_eddies/Tests/CMakeLists.txt
+++ b/Inst_eddies/Tests/CMakeLists.txt
@@ -113,6 +113,6 @@ foreach(my_target IN ITEMS test_get_1_outerm test_set_all_outerm
     ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules)
 
   target_include_directories(${my_target} PRIVATE
-    ${PROJECT_BINARY_DIR}/${my_target}_modules>)
+    ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules>)
 
 endforeach()
-- 
GitLab