From 58efbee944bd2c9c62266b7adec2f997ffd578fc Mon Sep 17 00:00:00 2001 From: mwx1193402 Date: Thu, 15 Sep 2022 17:20:48 +0300 Subject: [PATCH] Changes according to visibility=hidden --- bytecode_optimizer/CMakeLists.txt | 4 ++-- tests/bytecode_optimizer/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bytecode_optimizer/CMakeLists.txt b/bytecode_optimizer/CMakeLists.txt index 0dc92c095..00b164cef 100644 --- a/bytecode_optimizer/CMakeLists.txt +++ b/bytecode_optimizer/CMakeLists.txt @@ -24,8 +24,8 @@ panda_isa_gen( DESTINATION ${GENERATED_DIR} ) -add_dependencies(arkbytecodeopt isa_gen_${PROJECT_NAME}) +add_dependencies(arkbytecodeopt_obj isa_gen_${PROJECT_NAME}) -target_include_directories(arkbytecodeopt PUBLIC +target_include_directories(arkbytecodeopt_obj PUBLIC ${GENERATED_DIR} ) diff --git a/tests/bytecode_optimizer/CMakeLists.txt b/tests/bytecode_optimizer/CMakeLists.txt index 2ccbb48a9..97356c5b6 100644 --- a/tests/bytecode_optimizer/CMakeLists.txt +++ b/tests/bytecode_optimizer/CMakeLists.txt @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set(PANDA_BYTECODE_OPT_TESTS_ECMA_LIBRARIES arkbytecodeopt arkfile arkbase) +set(PANDA_BYTECODE_OPT_TESTS_ECMA_LIBRARIES arkbytecodeopt_static arkfile arkbase) if (NOT (PANDA_TARGET_MOBILE OR PANDA_TARGET_OHOS OR PANDA_ENABLE_FUZZBENCH)) list(APPEND PANDA_BYTECODE_OPT_TESTS_ECMA_LIBRARIES stdc++fs) endif() -- Gitee