This commit is contained in:
Patrick von Reth 2014-08-12 14:13:06 +02:00
parent a65b541ce0
commit a7f25dd584
3 changed files with 10 additions and 4 deletions

View File

@ -7,6 +7,7 @@ if(NOT SNORE_REVISION)
endif()
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})
@ -71,5 +72,5 @@ install(EXPORT LibsnoreTarget DESTINATION lib/cmake/libsnore${SNORE_CamelCase_SU
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})

View File

@ -1,3 +0,0 @@
include("${CMAKE_CURRENT_LIST_DIR}/LibsnoreTarget.cmake")
set(LIBSNORE_FOUND TRUE)
set(LIBSNORE_LIBRARIES Snore::Libsnore)

View File

@ -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()