File tree Expand file tree Collapse file tree 4 files changed +3
-193
lines changed
Expand file tree Collapse file tree 4 files changed +3
-193
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,8 @@ set(CMAKE_CXX_STANDARD 23)
2121set (CMAKE_CXX_STANDARD_REQUIRED ON )
2222set (CMAKE_POSITION_INDEPENDENT_CODE ON )
2323
24- include (cmake/skia.cmake)
25-
2624set (SOURCES
27-
25+ src/cpp/library.cpp
2826)
2927
3028if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
@@ -33,12 +31,10 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
3331 endif ()
3432
3533 list (APPEND SOURCES
36- src/cpp/linux/GLXContext.cpp
3734 )
3835elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
3936 list (APPEND SOURCES
4037 src/cpp/windows/D3DInterop.cpp
41- src/cpp/windows/WGLContext.cpp
4238 )
4339endif ()
4440
@@ -55,6 +51,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
5551 target_link_libraries (${PROJECT_NAME} PUBLIC PkgConfig::GL)
5652 target_include_directories (${PROJECT_NAME} PUBLIC "${JAVA_HOME} /include/linux" )
5753elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
54+ include (cmake/skia.cmake)
5855 target_compile_definitions (${PROJECT_NAME} PRIVATE -D_WINDOWS)
5956 target_compile_definitions (${PROJECT_NAME} PRIVATE SK_DIRECT3D NOMINMAX WIN32_LEAN_AND_MEAN)
6057 target_compile_options (${PROJECT_NAME} PRIVATE /MT)
Original file line number Diff line number Diff line change 1+ // empty
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments