Skip to content

Commit d3d7b2f

Browse files
committed
Add libx11 on linux since it's now required by imgui glfw backend
1 parent 3e1fb11 commit d3d7b2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ngscopeclient/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,17 @@ target_include_directories(ngscopeclient
194194
)
195195

196196
#Linker settings
197+
if(LINUX)
198+
set(PLATFORM_LIBS X11)
199+
else()
200+
set(PLATFORM_LIBS "")
201+
endif()
197202
target_link_libraries(ngscopeclient
198203
scopehal
199204
scopeprotocols
200205
nfd
201206
PNG::PNG
207+
${PLATFORM_LIBS}
202208
)
203209

204210
if(CMAKE_SIZEOF_VOID_P EQUAL 4)

0 commit comments

Comments
 (0)