From 5706c16245e809ea712f6b685389e072bcca19a4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 13 May 2016 12:49:46 +0200 Subject: cmake: expose clang being used --- cmake/opentrack-platform.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake') 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) -- cgit v1.2.3