summaryrefslogtreecommitdiffstats
path: root/Modules/FindX11.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-24 17:10:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-24 17:37:07 (GMT)
commit8981513a810a97d10e299407e12c46aabe68f00a (patch)
treef048ada3f37158b39f0269b139a564fde70afc0c /Modules/FindX11.cmake
parent731427a646cd0ca81aa392872d18d125e917bf47 (diff)
downloadCMake-8981513a810a97d10e299407e12c46aabe68f00a.zip
CMake-8981513a810a97d10e299407e12c46aabe68f00a.tar.gz
CMake-8981513a810a97d10e299407e12c46aabe68f00a.tar.bz2
CMakeDetermineCompiler: Simplify CMAKE_<LANG>_COMPILER default force-cache
If find_program does not find CMAKE_<LANG>_COMPILER, use set_property() to force the value to be that of CMAKE_<LANG>_COMPILER_INIT instead of set(). This allows us to set the value without re-specifying the type and documentation, thus preserving what find_program set.
Diffstat (limited to 'Modules/FindX11.cmake')
0 files changed, 0 insertions, 0 deletions