diff -rupN --no-dereference GeographicLib-1.50.1/js/CMakeLists.txt GeographicLib-1.50.1-new/js/CMakeLists.txt
--- GeographicLib-1.50.1/js/CMakeLists.txt 2019-12-12 11:51:36.000000000 +0100
+++ GeographicLib-1.50.1-new/js/CMakeLists.txt 2019-12-12 13:24:25.459902210 +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 ()