Skip to content

Commit

Permalink
static v8 needs static icu
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanssen committed May 21, 2015
1 parent e74cea9 commit bb2f228
Showing 1 changed file with 47 additions and 2 deletions.
49 changes: 47 additions & 2 deletions cmake/FindV8.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,53 @@ else()
/opt/lib
/usr/freeware/lib64
)
if (V8_LIBRARY_BASE AND V8_LIBRARY_LIBBASE AND V8_LIBRARY_LIBPLATFORM AND V8_LIBRARY_SNAPSHOT)
set(V8_LIBRARIES ${V8_LIBRARY_BASE} ${V8_LIBRARY_LIBBASE} ${V8_LIBRARY_LIBPLATFORM} ${V8_LIBRARY_SNAPSHOT})
FIND_LIBRARY(V8_LIBRARY_ICUI18N
NAMES icui18n
PATHS
$ENV{V8_DIR}/lib
$ENV{V8_DIR}
~/Library/Frameworks
/Library/Frameworks
/usr/local/lib
/usr/lib
/sw/lib
/opt/local/lib
/opt/csw/lib
/opt/lib
/usr/freeware/lib64
)
FIND_LIBRARY(V8_LIBRARY_ICUDATA
NAMES icudata
PATHS
$ENV{V8_DIR}/lib
$ENV{V8_DIR}
~/Library/Frameworks
/Library/Frameworks
/usr/local/lib
/usr/lib
/sw/lib
/opt/local/lib
/opt/csw/lib
/opt/lib
/usr/freeware/lib64
)
FIND_LIBRARY(V8_LIBRARY_ICUUC
NAMES icuuc
PATHS
$ENV{V8_DIR}/lib
$ENV{V8_DIR}
~/Library/Frameworks
/Library/Frameworks
/usr/local/lib
/usr/lib
/sw/lib
/opt/local/lib
/opt/csw/lib
/opt/lib
/usr/freeware/lib64
)
if (V8_LIBRARY_BASE AND V8_LIBRARY_LIBBASE AND V8_LIBRARY_LIBPLATFORM AND V8_LIBRARY_SNAPSHOT AND V8_LIBRARY_ICUI18N AND V8_LIBRARY_ICUDATA AND V8_LIBRARY_ICUUC)
set(V8_LIBRARIES ${V8_LIBRARY_BASE} ${V8_LIBRARY_LIBBASE} ${V8_LIBRARY_LIBPLATFORM} ${V8_LIBRARY_SNAPSHOT} ${V8_LIBRARY_ICUI18N} ${V8_LIBRARY_ICUDATA} ${V8_LIBRARY_ICUUC})
endif()
endif()

Expand Down

0 comments on commit bb2f228

Please sign in to comment.