Skip to content

Commit b3b08ec

Browse files
Mostly works, some issues still remain.
1 parent e58e6a3 commit b3b08ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if(PLATFORM_ANDROID)
130130
add_subdirectory(Android/HelloAR)
131131
endif()
132132

133-
if(NOT ${DILIGENT_BUILD_SAMPLE_BASE_ONLY} AND (D3D11_SUPPORTED OR D3D12_SUPPORTED OR GL_SUPPORTED OR GLES_SUPPORTED))
133+
if(NOT PLATFORM_FREEBSD AND NOT ${DILIGENT_BUILD_SAMPLE_BASE_ONLY} AND (D3D11_SUPPORTED OR D3D12_SUPPORTED OR GL_SUPPORTED OR GLES_SUPPORTED))
134134
add_subdirectory(UnityPlugin)
135135
endif()
136136

SampleBase/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ elseif(PLATFORM_ANDROID)
190190
target_link_libraries(Diligent-SampleBase PRIVATE GLESv3 PUBLIC native_app_glue)
191191
elseif(PLATFORM_LINUX)
192192
find_package(X11 REQUIRED)
193-
target_link_libraries(Diligent-SampleBase PRIVATE XCBKeySyms ${OPENGL_LIBRARY} X11::X11)
193+
target_link_libraries(Diligent-SampleBase PRIVATE XCBKeySyms ${OPENGL_LIBRARY} ${X11_LIBRARIES})
194194
elseif(PLATFORM_MACOS OR PLATFORM_IOS)
195195

196196
endif()

0 commit comments

Comments
 (0)