]> granicus.if.org Git - graphviz/commit
CMake: stop configuring CMAKE_INCLUDE_PATH
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 25 Nov 2021 15:39:05 +0000 (07:39 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 2 Dec 2021 15:47:07 +0000 (07:47 -0800)
commit800fa38a31b8dea6856918777d214b16018b4d81
tree1279dc5bedc73e3679c3b70b9b03f160e14fd19b
parent213defa88498c1dac421db9e9d5ec0c73106f1cf
CMake: stop configuring CMAKE_INCLUDE_PATH

This variable affects `find_file` and `find_path`.¹ `find_file` is not used in
Graphviz and `find_path` already defaults to the correct values for the current
platform.² This change avoids, among other things, hard-coding of the target
architecture as x86-64.

Related to #1973.

¹ see https://cmake.org/cmake/help/latest/variable/CMAKE_INCLUDE_PATH.html#variable:CMAKE_INCLUDE_PATH
² https://cmake.org/cmake/help/latest/command/find_path.html#command:find_path
CHANGELOG.md
CMakeLists.txt