Skip to content

Commit 37879f4

Browse files
committed
vcpkg: fix macos build
1 parent 1a1b9ed commit 37879f4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build/vcpkg/test/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@ find_package(ruisapp CONFIG REQUIRED)
1414

1515
add_executable(test ${win32} main.cpp)
1616

17-
target_link_libraries(test PRIVATE ruisapp::ruisapp-opengles)
17+
if(IOS)
18+
target_link_libraries(test PRIVATE ruisapp::ruisapp-opengles)
19+
else()
20+
target_link_libraries(test PRIVATE ruisapp::ruisapp-opengl)
21+
endif()

0 commit comments

Comments
 (0)