File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,16 @@ find_path(CEF_INCLUDE_DIR "include/cef_version.h"
88find_library (CEF_LIBRARY
99 NAMES cef libcef cef.lib libcef.o "Chromium Embedded Framework"
1010 PATHS ${CEF_ROOT_DIR} ${CEF_ROOT_DIR} /Release)
11+ find_library (CEF_LIBRARY_DEBUG
12+ NAMES cef libcef cef.lib libcef.o "Chromium Embedded Framework"
13+ PATHS ${CEF_ROOT_DIR} ${CEF_ROOT_DIR} /Debug)
1114
1215find_library (CEFWRAPPER_LIBRARY
1316 NAMES cef_dll_wrapper libcef_dll_wrapper
14- PATHS ${CEF_ROOT_DIR} /build /libcef_dll ${CEF_ROOT_DIR} /build /libcef_dll_wrapper)
17+ PATHS ${CEF_ROOT_DIR} /build /libcef_dll/Release ${CEF_ROOT_DIR} /build /libcef_dll_wrapper/Release)
18+ find_library (CEFWRAPPER_LIBRARY_DEBUG
19+ NAMES cef_dll_wrapper libcef_dll_wrapper
20+ PATHS ${CEF_ROOT_DIR} /build /libcef_dll/Debug ${CEF_ROOT_DIR} /build /libcef_dll_wrapper/Debug)
1521
1622if (NOT CEF_LIBRARY)
1723 message (FATAL_ERROR "Could not find the CEF shared library" )
@@ -22,8 +28,10 @@ if (NOT CEFWRAPPER_LIBRARY)
2228endif (NOT CEFWRAPPER_LIBRARY)
2329
2430set (CEF_LIBRARIES
25- ${CEF_LIBRARY}
26- ${CEFWRAPPER_LIBRARY} )
31+ debug ${CEFWRAPPER_LIBRARY_DEBUG}
32+ debug ${CEF_LIBRARY_DEBUG}
33+ optimized ${CEFWRAPPER_LIBRARY}
34+ optimized ${CEF_LIBRARY} )
2735
2836find_package_handle_standard_args(CEF DEFAULT_MSG CEF_LIBRARY
2937 CEFWRAPPER_LIBRARY CEF_INCLUDE_DIR)
You can’t perform that action at this time.
0 commit comments