From d031828078ad228950fd344fc83920232dd3e05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Szab=C3=B3?= Date: Mon, 6 Jan 2025 23:59:05 +0100 Subject: [PATCH] Fix tc-print subdirectory load order --- hphp/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hphp/CMakeLists.txt b/hphp/CMakeLists.txt index ad6558b1c36195..dc66d542d471b4 100644 --- a/hphp/CMakeLists.txt +++ b/hphp/CMakeLists.txt @@ -135,7 +135,6 @@ endif() add_subdirectory(tools/hfsort) add_subdirectory(tools/version) -add_subdirectory(tools/tc-print) add_subdirectory(compiler) add_subdirectory(hack) @@ -145,6 +144,10 @@ add_subdirectory(neo) add_subdirectory(runtime) add_subdirectory(runtime/ext) +# Note: tc-print depends on EXTENSION_SYSTEMLIB_SOURCES being already set +# and therefore should be added after extensions. +add_subdirectory(tools/tc-print) + # The runtime/test binary require GTest and GMock to be installed globally option(RUNTIME_TEST_BIN "Create the HHVM runtime/test binary" OFF) if (RUNTIME_TEST_BIN)