Skip to content

Commit b172273

Browse files
authored
Update npm in cmake to use package.json.lock (#1263)
1 parent c89031e commit b172273

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Apps/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ if((WIN32 AND NOT WINDOWS_STORE) OR (APPLE AND NOT IOS) OR (UNIX AND NOT ANDROID
66
add_subdirectory(UnitTests)
77
endif()
88

9-
# NPM install
10-
npm(install)
9+
npm(install ${CMAKE_CURRENT_SOURCE_DIR} "Apps" "--silent")

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
55
# CMakeExtensions
66
include(FetchContent)
77
FetchContent_Declare(cmake-extensions
8-
GIT_REPOSITORY https://github.com/BabylonJS/CMakeExtensions.git
9-
GIT_TAG 17baf9e349afea90677e69cdd273d773c894f7b5)
8+
GIT_REPOSITORY https://github.com/BabylonJS/CMakeExtensions.git
9+
GIT_TAG 366dc4a84fb20f4060d97e89948c343e74c51fc3)
1010
message(STATUS "Fetching cmake-extensions")
1111
FetchContent_MakeAvailable(cmake-extensions)
1212
message(STATUS "Fetching cmake-extensions - done")

0 commit comments

Comments
 (0)