cef-cmake
cef-cmake copied to clipboard
Using minimal binary distribution
Hi. First of all thanks for this project.
The issue I am having is that if I change the CMakeLists.txt to download the minimal distribution instead of the complete one
(by modifying the set(cefName cef_binary_${CEF_VERSION}_linux64) to set(cefName cef_binary_${CEF_VERSION}_linux64_minimal)
By looking at the CMake files it seems it always expects the Debug folder, which is not the case for the minimal build as it only has Release.
I get the following error when compiling cef-demos:
Error copying directory from "/home/matheus/github/cef-demos/cef-cmake/cef_binary_3.3626.1894.g90eb8cc_linux64_minimal/Debug/swiftshader" to "/home/matheus/github/cef-demos/build/bin/swiftshader".
cef-cmake/CMakeFiles/cefdll_wrapper.dir/build.make:2547: recipe for target 'cef-cmake/libcefdll_wrapper.a' failed
make[2]: *** [cef-cmake/libcefdll_wrapper.a] Error 1
make[2]: *** Deleting file 'cef-cmake/libcefdll_wrapper.a'
CMakeFiles/Makefile2:256: recipe for target 'cef-cmake/CMakeFiles/cefdll_wrapper.dir/all' failed
make[1]: *** [cef-cmake/CMakeFiles/cefdll_wrapper.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2
If I remove Debug references and just leave the optimized target of the main cmake file, this is fixed. The only issue is that cefsimple example cannot be build as it requires test headers only present on Debug.