# Select a Qt installation here, if you don't want to use system Qt
if(QT)
# FindQt4 will look for the qmake binary in $PATH, so we just prepend the Qt dir
# Select a Qt installation here, if you don't want to use system Qt
if(QT)
# FindQt4 will look for the qmake binary in $PATH, so we just prepend the Qt dir
else(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL")
message(STATUS "No OpenSSL support found in Qt, disabling")
endif(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL")
else(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL")
message(STATUS "No OpenSSL support found in Qt, disabling")
endif(NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL")
add_executable(genversion ${CMAKE_SOURCE_DIR}/src/common/genversion.cpp)
target_link_libraries(genversion ${QT_LIBRARIES} ${QT_CORE_LIB_DEPENDENCIES})
add_executable(genversion ${CMAKE_SOURCE_DIR}/src/common/genversion.cpp)
target_link_libraries(genversion ${QT_LIBRARIES} ${QT_CORE_LIB_DEPENDENCIES})
${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/src/common/version.gen)
add_dependencies(genversion_run genversion)
${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/src/common/version.gen)
add_dependencies(genversion_run genversion)