From d7f008e868c440a1ac4f4e4d3e29f028f5fc07b5 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 1 Jan 2010 14:33:42 -0800 Subject: [PATCH] tolua++ has different naming convention on FreeBSD --- cmake/ConkyPlatformChecks.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index 30cff92d..e27a7429 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -260,11 +260,11 @@ if(WANT_LIBXML2) endif(WANT_LIBXML2) if(WANT_TOLUA) - find_program(APP_TOLUA NAMES tolua++ tolua++5.1) + find_program(APP_TOLUA NAMES tolua++ tolua++5.1 tolua++-5.1) if(NOT APP_TOLUA) message(FATAL_ERROR "Unable to find program 'tolua++'") endif(NOT APP_TOLUA) - find_library(TOLUA_LIBS NAMES tolua++ tolua++5.1) + find_library(TOLUA_LIBS NAMES tolua++ tolua++5.1 tolua++-5.1) find_path(TOLUA_INCLUDE_PATH tolua++.h ${INCLUDE_SEARCH_PATH}) if(TOLUA_INCLUDE_PATH AND TOLUA_LIBS) set(TOLUA_FOUND true)