]> granicus.if.org Git - gc/commit
Fix HOST determination in CMake script
authorIvan Maidanski <ivmai@mail.ru>
Wed, 21 Aug 2019 21:48:30 +0000 (00:48 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 21 Aug 2019 21:49:59 +0000 (00:49 +0300)
commitede700ba04ac1c9c6a7ead8e4130cdc131580e7d
treeecf9734391cbf6a2e484e8462f6d0ac4d2dacb87
parentf5a2760d99ac441a9638ecb2e3f0d6cd70da3e98
Fix HOST determination in CMake script

As per the configure script, HOST variable value should identify the
target, not build host.

* CMakeLists.txt (HOST): Set variable before find_package(Threads);
change message type to STATUS; report ${HOST} value as "TARGET".
* CMakeLists.txt (_HOST): Use CMAKE_SYSTEM_PROCESSOR instead
of CMAKE_HOST_SYSTEM_PROCESSOR; specify vendor as "unknown" (instead
of empty string); remove FIXME.
CMakeLists.txt