[companion] Adjust GVAR not possible in global functions (fix #5425)
[opentx.git] / companion / src / storage / CMakeLists.txt
blob5b1aefb20bd53aad9ab35aa2bbf986a49128689a
1 include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
3 set(storage_NAMES
4   hexinterface
5   mountlist
6   rlefile
7   appdata
8   firmwareinterface
9   storage
10   bineeprom
11   eepe
12   hexeeprom
13   categorized
14   sdcard
15   otx
18 set(storage_SRCS
21 set(storage_HDRS
24 foreach(name ${storage_NAMES})
25   set(storage_SRCS ${storage_SRCS} ${name}.cpp)
26   set(storage_HDRS ${storage_HDRS} ${name}.h)
27 endforeach()
29 add_library(storage ${storage_SRCS})
30 qt5_use_modules(storage Core Xml Widgets)
31 target_link_libraries(storage PRIVATE ${CPN_COMMON_LIB})