LunaHook-mirror/LunaHost/GUI/Plugin/CMakeLists.txt

24 lines
697 B
CMake
Raw Normal View History

2024-03-29 21:22:16 +08:00
if(0)
include(QtUtils.cmake)
msvc_registry_search()
if(Qt5_DIR)
find_qt5(Core Widgets)
#set(CMAKE_AUTOMOC ON)
add_library(QtLoader MODULE QtLoader.cpp)
#qt5_wrap_cpp(MOC_SOURCES QtLoader.h)
#target_sources(QtLoader PRIVATE ${MOC_SOURCES})
target_link_libraries(QtLoader Qt5::Widgets Qt5::Core)
set_target_properties(QtLoader PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/plugin${bitappendix}")
endif()
2024-04-21 17:38:47 +08:00
endif()
if(NOT DEFINED WINXP)
2024-04-26 11:56:17 +08:00
if(LANGUAGE STREQUAL "English")
2024-04-21 17:38:47 +08:00
include(QtUtils.cmake)
2024-04-26 11:13:32 +08:00
#msvc_registry_search()
#if(Qt5_DIR)
2024-04-21 17:38:47 +08:00
find_qt5(Core Widgets WebSockets)
add_subdirectory(extensions)
2024-04-26 11:13:32 +08:00
#endif()
2024-04-26 11:43:17 +08:00
endif()
2024-02-28 13:48:15 +08:00
endif()