Better OS detection.
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 22 Aug 2017 10:10:56 +0000 (12:10 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 22 Aug 2017 10:10:56 +0000 (12:10 +0200)
commit2e8abc421151b81272f7ab988e494fd29eb431ff
treefdef822fa8c899df5bf1e0e2bf22091a7bf2e0df
parent20aab303a8cd573314c24b8de46a652d094f8e05
Better OS detection.

Only take ID_LIKE field if it exists else ID. Doing some
stripping also to get a cleaner output variable

Change-Id: If5c44bf21c3435bd4739cfd34190a81d28dd10d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/cmake.d/02-variables.cmake