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()