chore: do something for linux

This commit is contained in:
x-tools-author 2025-06-13 23:31:57 +08:00
parent 08ab958a96
commit 718cf739b6

View File

@ -265,9 +265,9 @@ if(NOT QT_VERSION VERSION_LESS "6.8.0")
# cmake-format: off
set(X_APP "xTools" CACHE STRING "Select a x-app to build")
set_property(CACHE X_APP PROPERTY STRINGS ${X_APPS})
if(EXISTS ${CMAKE_SOURCE_DIR}/xapps/${X_APP})
include_directories(${CMAKE_SOURCE_DIR}/xapps)
string(TOLOWER ${X_APP} LOWER_X_APP)
if(EXISTS ${CMAKE_SOURCE_DIR}/xapps/${LOWER_X_APP})
include_directories(${CMAKE_SOURCE_DIR}/xapps)
include(${CMAKE_SOURCE_DIR}/xapps/${LOWER_X_APP}/${X_APP}.cmake)
return()
endif()