From 1715b25a3e8c5936d42420412498c64b8d119465 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 18 Oct 2014 12:33:39 +0300 Subject: [PATCH] Fixed Unknown CMake command "CHECK_LIBRARY_EXISTS" error on Unix targets Previously it worked somehow but not with CMake 3.0.2 --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1444f1cf3f..e887775feb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,6 +7,7 @@ endif( COMMAND cmake_policy ) include( CheckCXXSourceCompiles ) include( CheckFunctionExists ) include( CheckCXXCompilerFlag ) +include( CheckLibraryExists ) include( FindPkgConfig ) if( NOT APPLE )