fix: re-add lost changes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
add_library(zshell-pch INTERFACE)
|
||||
target_precompile_headers(zshell-pch INTERFACE
|
||||
<qobject.h>
|
||||
<qqmlintegration.h>
|
||||
<qstring.h>
|
||||
<qqmlengine.h>
|
||||
<qloggingcategory.h>
|
||||
<qvariant.h>
|
||||
<qtimer.h>
|
||||
<qdir.h>
|
||||
<qlist.h>
|
||||
<qstringlist.h>
|
||||
<qpointer.h>
|
||||
)
|
||||
@@ -0,0 +1,10 @@
|
||||
find_library(SENSORS_LIBRARY NAMES sensors REQUIRED)
|
||||
find_path(SENSORS_INCLUDE_DIR NAMES sensors/sensors.h REQUIRED)
|
||||
if(NOT TARGET Sensors::Sensors)
|
||||
add_library(Sensors::Sensors UNKNOWN IMPORTED)
|
||||
set_target_properties(Sensors::Sensors PROPERTIES
|
||||
IMPORTED_LOCATION "${SENSORS_LIBRARY}"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${SENSORS_INCLUDE_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user