We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10500ed + 92ca07b commit 16bac5fCopy full SHA for 16bac5f
1 file changed
cmake/vendor.cmake
@@ -162,6 +162,11 @@ target_link_libraries(TracyImGui PUBLIC TracyFreetype)
162
target_compile_definitions(TracyImGui PRIVATE "IMGUI_ENABLE_FREETYPE")
163
#target_compile_definitions(TracyImGui PUBLIC "IMGUI_DISABLE_OBSOLETE_FUNCTIONS")
164
165
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND LEGACY)
166
+ find_package(X11 REQUIRED)
167
+ target_link_libraries(TracyImGui PUBLIC ${X11_LIBRARIES})
168
+endif()
169
+
170
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
171
target_compile_definitions(TracyImGui PRIVATE "IMGUI_DISABLE_DEBUG_TOOLS" "IMGUI_DISABLE_DEMO_WINDOWS")
172
endif()
@@ -294,4 +299,4 @@ if(NOT EMSCRIPTEN)
294
299
target_include_directories(TracyLibcurl INTERFACE ${libcurl_SOURCE_DIR}/include)
295
300
296
301
297
-endif()
302
0 commit comments