Skip to content

Commit 2269dee

Browse files
authored
Re-add absl package requirement
Re-add absl package requirement in CMakeLists.txt.
1 parent 9384871 commit 2269dee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ find_package(OpenSSL QUIET)
124124
find_package(PhysFS REQUIRED)
125125
find_package(ZLIB REQUIRED)
126126
find_package(phmap REQUIRED)
127-
find_package(absl CONFIG REQUIRED)
128127
find_package(Protobuf REQUIRED)
129128
find_package(LibLZMA REQUIRED)
130129
find_package(nlohmann_json REQUIRED)
@@ -138,10 +137,12 @@ if(WASM)
138137
target_compile_options(Threads::Threads INTERFACE -pthread)
139138
target_link_options(Threads::Threads INTERFACE -pthread)
140139
set(CMAKE_THREAD_LIBS_INIT "-pthread")
140+
set(Threads_FOUND TRUE)
141141
endif()
142142
else()
143143
find_package(Threads REQUIRED)
144144
endif()
145+
find_package(absl CONFIG REQUIRED)
145146
find_package(STDUUID CONFIG REQUIRED)
146147
find_package(pugixml CONFIG REQUIRED)
147148
find_package(ZLIB REQUIRED)

0 commit comments

Comments
 (0)