From bc19c7ad45816c046bbe7adfebe05dfadbb4c947 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Tue, 22 Nov 2022 12:40:29 +0100 Subject: [PATCH] Bug fix: correct name of modules directory `${my_target}` is not defined here. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fecda29..7cbaefbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,9 +35,9 @@ add_executable(test_write_null test_write_null.f90) target_link_libraries(test_write_null PRIVATE Shapelib_03::shapelib_03 Contour_531::contour_531 Jumble::jumble) set_target_properties(test_write_null PROPERTIES Fortran_MODULE_DIRECTORY - ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules) + ${CMAKE_CURRENT_BINARY_DIR}/test_write_null_modules) target_include_directories(test_write_null PRIVATE - ${CMAKE_CURRENT_BINARY_DIR}/${my_target}_modules) + ${CMAKE_CURRENT_BINARY_DIR}/test_write_null_modules) add_subdirectory(Inst_eddies) add_subdirectory(Overlap) -- GitLab