Files
qad/utils/qpicalculator/CMakeLists.txt
2021-07-25 10:42:55 +03:00

23 lines
609 B
CMake

find_package(PIP)
if (PIP_FOUND)
project(qpicalc)
if(APPLE)
set(APP_ICON "")
elseif(WIN32)
set(APP_ICON "icons/qpicalculator.ico")
else()
set(APP_ICON "icons/qpicalculator.png")
endif()
set(APP_INFO "Small calculator ang grapher")
qad_application(${PROJECT_NAME} "Gui;Widgets" "qad_graphic;qad_piqt")
if (NOT DEFINED ANDROID_PLATFORM)
if (Qt5_FOUND)
import_version(${PROJECT_NAME}5 ${PROJECT_NAME})
set(${PROJECT_NAME}5_INFO "${${PROJECT_NAME}_INFO}")
deploy_target(${PROJECT_NAME}5 DEPLOY_DIR ${CMAKE_CURRENT_BINARY_DIR} DESTINATION ${ROOT_DIR}/release)
endif()
endif()
endif()