summaryrefslogtreecommitdiffstats
path: root/Modules/CheckFortranSourceRuns.cmake
diff options
context:
space:
mode:
authorAdam Badura <adam.f.badura@gmail.com>2020-07-26 08:19:02 (GMT)
committerAdam Badura <adam.f.badura@gmail.com>2020-07-28 21:49:20 (GMT)
commit832858195ec4e9ac1ef513d7c2974d62a4f941c7 (patch)
treeba70b1001cdad2a3d13c6f5a2309f0d43ace1458 /Modules/CheckFortranSourceRuns.cmake
parent22bfe014d0a2676f46523b3e0cd334dba154f77a (diff)
downloadCMake-832858195ec4e9ac1ef513d7c2974d62a4f941c7.zip
CMake-832858195ec4e9ac1ef513d7c2974d62a4f941c7.tar.gz
CMake-832858195ec4e9ac1ef513d7c2974d62a4f941c7.tar.bz2
GoogleTest: Fix include path in the generated file
The generated ..._include.cmake file contained an inclusion of GoogleTestAddTests without any path. In general, this is a good approach since it enables to correctly catch possibly user-customized files. However, in this case, it didn’t work this way since the ..._include.cmake file is evaluated by a separate CMake call under a custom command. Because of this, the CMAKE_MODULE_PATH is not set as expected by the user and the said inclusion catches CMake own version of the module rather than the possibly user-customized one. This change fixes this by making the inclusion with an absolute path determined upon the ..._include.cmake file generation.
Diffstat (limited to 'Modules/CheckFortranSourceRuns.cmake')
0 files changed, 0 insertions, 0 deletions