diff -rupN --no-dereference GeographicLib-1.51/js/CMakeLists.txt GeographicLib-1.51-new/js/CMakeLists.txt
--- GeographicLib-1.51/js/CMakeLists.txt 2020-11-22 15:00:22.000000000 +0100
+++ GeographicLib-1.51-new/js/CMakeLists.txt 2020-11-22 16:20:15.960380426 +0100
@@ -122,7 +122,7 @@ file (COPY ${JSSCRIPTS} DESTINATION geog
file (COPY test/geodesictest.js DESTINATION geographiclib/test)
if (COMMON_INSTALL_PATH)
- set (INSTALL_JS_DIR "lib${LIB_SUFFIX}/node_modules/geographiclib")
+ set (INSTALL_JS_DIR "lib/node_modules/geographiclib")
else ()
set (INSTALL_JS_DIR "node_modules/geographiclib")
endif ()