Skip to content

Commit

Permalink
Add the IME sample only if a Win32 backend is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnCZek committed Apr 26, 2024
1 parent bec516b commit a7c6685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ if(BUILD_SAMPLES)
if(ENABLE_HARFBUZZ)
list(APPEND samples "harfbuzzshaping")
endif()
if(WIN32)
if(SAMPLES_BACKEND MATCHES "^Win32")
list(APPEND samples "ime")
endif()

Expand Down Expand Up @@ -1094,7 +1094,7 @@ if(BUILD_SAMPLES)
DESTINATION ${SAMPLES_DIR}/basic/svg
)
endif()
if(WIN32)
if(SAMPLES_BACKEND MATCHES "^Win32")
install(DIRECTORY ${PROJECT_SOURCE_DIR}/Samples/basic/ime/data
DESTINATION ${SAMPLES_DIR}/basic/ime
)
Expand Down

0 comments on commit a7c6685

Please sign in to comment.