/usr/share/enki/CMake/enkiConfig.cmake is in libenki-dev 1:1.6.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # - Config file for the enki package
# It defines the following variables
# enki_INCLUDE_DIR - include directories for enki
# enki_LIBRARY - core library to link against
# enki_VIEWER_LIBRARIES - viewer library to link against, if available
include(FindPackageHandleStandardArgs)
# core
find_path(enki_INCLUDE_DIR enki/PhysicalEngine.h /build/enki-aseba-3y1Qk7/enki-aseba-1.6.0 CMAKE_FIND_ROOT_PATH_BOTH)
find_library(enki_LIBRARY enki /build/enki-aseba-3y1Qk7/enki-aseba-1.6.0/obj-x86_64-linux-gnu/enki CMAKE_FIND_ROOT_PATH_BOTH)
find_package_handle_standard_args(enki DEFAULT_MSG enki_INCLUDE_DIR enki_LIBRARY)
# viewer
set(QT_USE_QTOPENGL TRUE)
find_package(Qt5 COMPONENTS Core)
find_package(OpenGL)
if (Qt5_FOUND AND OPENGL_FOUND)
# include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
if (CMAKE_HOST_UNIX)
add_definitions("-fPIC")
endif (CMAKE_HOST_UNIX)
find_library(enki_VIEWER_LIBRARY enkiviewer /build/enki-aseba-3y1Qk7/enki-aseba-1.6.0/obj-x86_64-linux-gnu/viewer CMAKE_FIND_ROOT_PATH_BOTH)
SET(enki_VIEWER_LIBRARIES ${enki_VIEWER_LIBRARY} ${QT_LIBRARIES} CACHE STRING "All libraries necessary to link Enki viewer")
find_package_handle_standard_args(enki_VIEWER DEFAULT_MSG enki_VIEWER_LIBRARIES)
endif (Qt5_FOUND AND OPENGL_FOUND)
|