I'm trying to compile a project using CEGUI.
I have the FindCEGUI.cmake in place (https://bitbucket.org/cegui/cegui/src/8 ... ew-default).
Here is the lines I have put in my CMakeLists.txt
Code: Select all
find_package(CEGUI REQUIRED)
if (CEGUI_FOUND)
include_directories(${CEGUI_INCLUDE_DIR})
target_link_libraries(globularone ${CEGUI_LIBRARIES})
endif()
But when I try to generate my Makefile i got this error:
-- Looking for CEGUI...
-- Could not locate CEGUI
CMake Error at cmake/FindCEGUI.cmake:247 (message):
Required library CEGUI not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
cmake/FindCEGUI.cmake:490 (findpkg_finish)
CMakeLists.txt:32 (find_package)
I have installed CEGUI with my debian SID package manager (libcegui-mk2-dev).
Any help on this ? I'm pretty confused. I don't understand which "missing variables" I should manually set.
Thanks