From a0ddec9dc63d328e71dc4e46bd1341b779d88c72 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 19 Jul 2017 11:56:22 +0200 Subject: [PATCH] teshsuite/smpi/mpich3-test/f77/datatype: put generated file in build directory. --- .gitignore | 1 - teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c054e5bee8..2b2b42be43 100644 --- a/.gitignore +++ b/.gitignore @@ -666,7 +666,6 @@ teshsuite/smpi/mpich3-test/f77/datatype/gaddressf teshsuite/smpi/mpich3-test/f77/datatype/hindex1f teshsuite/smpi/mpich3-test/f77/datatype/hindexed_blockf teshsuite/smpi/mpich3-test/f77/datatype/packef -teshsuite/smpi/mpich3-test/f77/datatype/typeaints teshsuite/smpi/mpich3-test/f77/datatype/typeaints.h teshsuite/smpi/mpich3-test/f77/datatype/typecntsf teshsuite/smpi/mpich3-test/f77/datatype/typem2f diff --git a/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt b/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt index bd810bd168..bda4c89ccc 100644 --- a/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt +++ b/teshsuite/smpi/mpich3-test/f77/datatype/CMakeLists.txt @@ -7,8 +7,9 @@ if(enable_smpi AND enable_smpi_MPICH3_testsuite AND SMPI_FORTRAN) endif() include_directories(BEFORE "${CMAKE_HOME_DIRECTORY}/include/smpi") + include_directories(${CMAKE_CURRENT_BINARY_DIR}) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h.in ${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h @ONLY) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/typeaints.h.in typeaints.h @ONLY) # add_executable(allctypesf allctypesf.f) add_executable(gaddressf gaddressf.f) -- 2.20.1