From 5e75f51fdecde073707d36e95d268e820e68805f Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Wed, 28 Nov 2018 17:05:17 +0000 Subject: [PATCH] Correction to previous commit. --- cmake/packaging.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/packaging.cmake b/cmake/packaging.cmake index fab1c729..2821c769 100644 --- a/cmake/packaging.cmake +++ b/cmake/packaging.cmake @@ -46,7 +46,7 @@ endif() set (CC "") # Compiler if ( NOT APPLE AND NOT MSVC ) - string(find ${CMAKE_CXX_COMPILER} clang ISCLANG) + string(FIND ${CMAKE_CXX_COMPILER} clang ISCLANG) if ( NOT ISCLANG STREQUAL -1 ) set (CC Clang) endif()