Skip to content

Commit

Permalink
Update npm in cmake to use package.json.lock (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
bghgary authored Jul 19, 2023
1 parent c89031e commit b172273
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ if((WIN32 AND NOT WINDOWS_STORE) OR (APPLE AND NOT IOS) OR (UNIX AND NOT ANDROID
add_subdirectory(UnitTests)
endif()

# NPM install
npm(install)
npm(install ${CMAKE_CURRENT_SOURCE_DIR} "Apps" "--silent")
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
# CMakeExtensions
include(FetchContent)
FetchContent_Declare(cmake-extensions
GIT_REPOSITORY https://github.com/BabylonJS/CMakeExtensions.git
GIT_TAG 17baf9e349afea90677e69cdd273d773c894f7b5)
GIT_REPOSITORY https://github.com/BabylonJS/CMakeExtensions.git
GIT_TAG 366dc4a84fb20f4060d97e89948c343e74c51fc3)
message(STATUS "Fetching cmake-extensions")
FetchContent_MakeAvailable(cmake-extensions)
message(STATUS "Fetching cmake-extensions - done")
Expand Down

0 comments on commit b172273

Please sign in to comment.