Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit 35b5f9d

Browse files
authored
build: tell target where to find skia
1 parent 0c78db7 commit 35b5f9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
message("-- Creating main executable with target name ${CMAKE_PROJECT_NAME}")
22
add_executable(${CMAKE_PROJECT_NAME} main.cpp)
33

4+
# Tell CMake to find .dlls in 'build/src' so it can find libskia.friction.so
5+
target_link_directories(${CMAKE_PROJECT_NAME} PRIVATE ${CMAKE_BINARY_DIR}/src)
6+
47
include(skia/FindSkiaSystem)
58

69
set(EXECUTABLE_LIBRARIES

0 commit comments

Comments
 (0)