mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: do something for linux
This commit is contained in:
parent
08ab958a96
commit
718cf739b6
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user