fixes
This commit is contained in:
parent
a65b541ce0
commit
a7f25dd584
|
@ -7,6 +7,7 @@ if(NOT SNORE_REVISION)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/version.cpp")
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in" "${CMAKE_CURRENT_BINARY_DIR}/version.cpp")
|
||||||
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/LibsnoreConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/Libsnore${SNORE_CamelCase_SUFFIX}Config.cmake" @ONLY)
|
||||||
|
|
||||||
QT4_ADD_RESOURCES(SNORENOTIFY_RCS ${SNORE_RCS})
|
QT4_ADD_RESOURCES(SNORENOTIFY_RCS ${SNORE_RCS})
|
||||||
|
|
||||||
|
@ -71,5 +72,5 @@ install(EXPORT LibsnoreTarget DESTINATION lib/cmake/libsnore${SNORE_CamelCase_SU
|
||||||
|
|
||||||
install(FILES ${SnoreNotify_HDR} DESTINATION include/snore/core)
|
install(FILES ${SnoreNotify_HDR} DESTINATION include/snore/core)
|
||||||
|
|
||||||
install(FILES LibsnoreConfig.cmake DESTINATION lib/cmake/libsnore${SNORE_CamelCase_SUFFIX} RENAME Libsnore${SNORE_CamelCase_SUFFIX}Config.cmake)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Libsnore${SNORE_CamelCase_SUFFIX}Config.cmake DESTINATION lib/cmake/libsnore${SNORE_CamelCase_SUFFIX})
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/LibsnoreTarget.cmake")
|
|
||||||
set(LIBSNORE_FOUND TRUE)
|
|
||||||
set(LIBSNORE_LIBRARIES Snore::Libsnore)
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/LibsnoreTarget.cmake")
|
||||||
|
set(LIBSNORE_FOUND TRUE)
|
||||||
|
set(LIBSNORE_LIBRARIES Snore::Libsnore)
|
||||||
|
|
||||||
|
if(NOT @WITH_QT4@)#WITH_QT4
|
||||||
|
find_package(Qt5Network REQUIRED)
|
||||||
|
find_package(Qt5Widgets REQUIRED)
|
||||||
|
endif()
|
Loading…
Reference in New Issue