1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index 24c7d85..3d070d5 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -79,6 +79,7 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
6 find_package(TBB REQUIRED)
7 endif()
8
9+#[==[
10 if(NOT DEFINED ESPLUGIN_URL)
11 set(ESPLUGIN_URL "https://github.com/Ortham/esplugin/archive/refs/tags/6.1.0.tar.gz")
12 set(ESPLUGIN_HASH "SHA256=52dec796d98426e1c75c5cf3c41351c0b3431a6301137e00fcf6023f4e47b502")
13@@ -153,6 +154,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
14 else()
15 set(LCI_LIBRARIES ${LCI_LIBRARIES} dl)
16 endif()
17+#]==]
18
19 FetchContent_Declare(
20 fmt
21@@ -307,10 +309,6 @@ set(LIBLOOT_ALL_SOURCES
22
23 # Build API.
24 add_library(loot ${LIBLOOT_ALL_SOURCES})
25-add_dependencies(loot
26- esplugin
27- libloadorder
28- loot-condition-interpreter)
29 target_link_libraries(loot PRIVATE
30 Boost::headers
31 ${ESPLUGIN_LIBRARIES}
32diff --git a/cmake/tests.cmake b/cmake/tests.cmake
33index ebccd82..2cef53c 100644
34--- a/cmake/tests.cmake
35+++ b/cmake/tests.cmake
36@@ -108,10 +108,6 @@ set(LIBLOOT_INTERFACE_TESTS_ALL_SOURCES
37
38 # Build tests.
39 add_executable(libloot_internals_tests ${LIBLOOT_INTERNALS_TESTS_ALL_SOURCES})
40-add_dependencies(libloot_internals_tests
41- esplugin
42- libloadorder
43- loot-condition-interpreter)
44 target_link_libraries(libloot_internals_tests PRIVATE
45 Boost::headers
46 ${ESPLUGIN_LIBRARIES}