Description
When creating a module if JavascriptCore is not present on the system then the creation will fail with the below
CMake Error at C:/ProgramData/Titanium/mobilesdk/win32/4.1.0.v20150706111546/windows/cli/vendor/cmake/share/cmake-3.1/Modules/FindPackageHandleStandar
dArgs.cmake:138 (message):
Could NOT find JavaScriptCore (missing: JavaScriptCore_INCLUDE_DIRS
JavaScriptCore_LIBRARIES)
Call Stack (most recent call first):
C:/ProgramData/Titanium/mobilesdk/win32/4.1.0.v20150706111546/windows/cli/vendor/cmake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:3
74 (_FPHSA_FAILURE_MESSAGE)
cmake/FindJavascriptCore.cmake:55 (find_package_handle_standard_args)
CMakeLists.txt:39 (find_package)
ERROR | titanium exited with non-zero exit code (1)
Steps to reproduce
1. Ensure there is no JavascriptCore on your system
2. Create a module using
appc new
Actual result
The creation will fail due to no JavascriptCore
Expected result
The creation should not fail
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/363
Closing ticket as fixed.