Skip to content

Commit 1d81ced

Browse files
Merge pull request #1722 from geocapp/master
resolve undefined symbol OH_NativeWindow_NativeWindowHandleOpt on OpenHarmony
2 parents 3b986a0 + bf51734 commit 1d81ced

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vsg/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ if (VSG_SUPPORTS_Windowing)
321321
elseif (OHOS_ARCH) # OpenHarmony
322322
set(HEADERS ${HEADERS} ${VSG_SOURCE_DIR}/include/vsg/platform/harmony/Harmony_Window.h)
323323
set(SOURCES ${SOURCES} platform/harmony/Harmony_Window.cpp)
324+
set(LIBRARIES ${LIBRARIES} PRIVATE ace_ndk.z native_window)
324325
elseif (WIN32)
325326
set(SOURCES ${SOURCES} platform/win32/Win32_Window.cpp)
326327
elseif (IOS)

0 commit comments

Comments
 (0)