From d467684ea40b6002e5ed73ea5979108c903088ad Mon Sep 17 00:00:00 2001 From: charles <128108973+OldFoolAgain@users.noreply.github.com> Date: Sat, 2 Sep 2023 19:49:08 -0400 Subject: [PATCH] Update CMakeLists.txt --- spidermonkey/make/cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spidermonkey/make/cmake/CMakeLists.txt b/spidermonkey/make/cmake/CMakeLists.txt index 794fb85ac..5d43c0a95 100644 --- a/spidermonkey/make/cmake/CMakeLists.txt +++ b/spidermonkey/make/cmake/CMakeLists.txt @@ -5,7 +5,7 @@ if(NOT WIN32) execute_process( COMMAND cc -o ${CMAKE_CURRENT_SOURCE_DIR}/jscpucfg ${PROJECT_SOURCE_DIR}/../../jscpucfg.c -Wno-format-security -Wno-deprecated-declarations -Os COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/jscpucfg - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautocfg.h )