Skip to content

Commit

Permalink
Merge pull request #110 from DDRBoxman/osxbuild
Browse files Browse the repository at this point in the history
Only require a release build of CEF
  • Loading branch information
DDRBoxman committed Mar 18, 2018
2 parents 89f418d + 11c2234 commit 3521f18
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions FindCEF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,14 @@ if (NOT CEFWRAPPER_LIBRARY)
endif (NOT CEFWRAPPER_LIBRARY)

set(CEF_LIBRARIES
debug ${CEFWRAPPER_LIBRARY_DEBUG}
debug ${CEF_LIBRARY_DEBUG}
optimized ${CEFWRAPPER_LIBRARY}
optimized ${CEF_LIBRARY})
optimized ${CEFWRAPPER_LIBRARY}
optimized ${CEF_LIBRARY})

if (CEF_LIBRARY_DEBUG AND CEFWRAPPER_LIBRARY_DEBUG)
list(APPEND CEF_LIBRARIES
debug ${CEFWRAPPER_LIBRARY_DEBUG}
debug ${CEF_LIBRARY_DEBUG})
endif()

find_package_handle_standard_args(CEF DEFAULT_MSG CEF_LIBRARY
CEFWRAPPER_LIBRARY CEF_INCLUDE_DIR)
Expand Down

0 comments on commit 3521f18

Please sign in to comment.