From e5b31e8a683091163f037122b0d059a93b767daf Mon Sep 17 00:00:00 2001 From: charles <128108973+OldFoolAgain@users.noreply.github.com> Date: Sat, 2 Sep 2023 19:53:40 -0400 Subject: [PATCH] Update CMakeLists.txt --- spidermonkey/make/cmake/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spidermonkey/make/cmake/CMakeLists.txt b/spidermonkey/make/cmake/CMakeLists.txt index 5d43c0a95..ba48a1913 100644 --- a/spidermonkey/make/cmake/CMakeLists.txt +++ b/spidermonkey/make/cmake/CMakeLists.txt @@ -4,9 +4,9 @@ project(jscript VERSION 1.8.0 LANGUAGES C) 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 + COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/jscpucfg WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - OUTPUT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautocfg.h + OUTPUT_FILE ${PROJECT_SOURCE_DIR}/../../jsautocfg.h ) message("Generating jsautocfg.h")