Skip to content

Commit

Permalink
use last found V8 version on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pmed committed Jan 8, 2023
1 parent 14dcf34 commit 2ddefbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/FindV8.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ if(WIN32)
if (NOT V8_NUGET_DEV_DIR)
message(FATAL_ERROR "Not found ${V8_PACKAGE_NAME} in ${V8_PACKAGE_DIRS}")
else()
list(GET V8_NUGET_DEV_DIR -1 V8_NUGET_DEV_DIR_LAST)
set(V8_NUGET_DEV_DIR ${V8_NUGET_DEV_DIR_LAST})
message(STATUS "Found V8 ${V8_NUGET_DEV_DIR}")
endif()

Expand Down

0 comments on commit 2ddefbd

Please sign in to comment.