I have a project that use CEF. i'm trying to use cmake to create shared library. all the cef headers files are inside include/cef3 directory
here my CMAKElist.txt
- Code: Select all
cmake_minimum_required(VERSION 2.6)
INCLUDE(CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER(gcc GNU)
CMAKE_FORCE_CXX_COMPILER(g++ GNU)
set(PROJECT_NAME "SFWebView")
project(${PROJECT_NAME})
set(CMAKE_BUILD_TYPE Release)
set(HDRS
Command.h
ListenerPattern.h
Property.h
SFApp.h
SynchronizedProperties.h
Utils.h
V8Handler.h
Webview.h
)
set(SRCS
ListenerPattern.cpp
Property.cpp
SFApp.cpp
SynchronizedProperties.cpp
Utils.cpp
V8Handler.cpp
Webview.cpp
)
# add include directories
INCLUDE_DIRECTORIES(./ ./include)
add_library(${PROJECT_NAME} ${HDRS} ${SRCS})
when i try to compile i get an error : ListenerPattern.h:5:29: fatal error: include/cef_app.h: No such file or directory compilation terminated.
any help !!!