summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-13 12:49:46 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-13 12:49:46 +0200
commit5706c16245e809ea712f6b685389e072bcca19a4 (patch)
tree71fd76a6a0fbe0d389679e3765aada50b60b1db2 /cmake/opentrack-platform.cmake
parentb11aa7330fa3878b07641eb3e7400f7f1e68cbc0 (diff)
cmake: expose clang being used
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index c659e4c0..e9ec7730 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -33,6 +33,7 @@ add_definitions(-DOPENTRACK_API)
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
set(CMAKE_COMPILER_IS_GNUCC TRUE)
set(CMAKE_COMPILER_IS_GNUCXX TRUE)
+ set(CMAKE_COMPILER_IS_CLANG TRUE)
endif()
if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE)