mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 10:31:39 +08:00
18 lines
674 B
CMake
18 lines
674 B
CMake
# Package-config file for @libBasename@ library
|
|
# (part of JKQtPlotter, version @PROJECT_VERSION@)
|
|
#
|
|
# see: https://github.com/jkriege2/JKQtPlotter
|
|
# Copyright: (c) Jan Krieger <jan@jkrieger.de>
|
|
#
|
|
|
|
|
|
# package requires Qt 5/6
|
|
find_package(Qt@QT_VERSION_MAJOR@ COMPONENTS Core Gui Widgets OpenGL REQUIRED)
|
|
if(${QT_VERSION_MAJOR} VERSION_GREATER_EQUAL "6")
|
|
find_package(Qt@QT_VERSION_MAJOR@ REQUIRED COMPONENTS OpenGLWidgets)
|
|
endif()
|
|
find_package(JKQTCommon@JKQTP_CURRENT_TARGET_SHAREDPART@Lib REQUIRED PATHS ${CMAKE_CURRENT_LIST_DIR} ${CMAKE_MODULE_PATH})
|
|
|
|
# include auto-generated targets.cmake file
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@JKQTP_CURRENT_TARGET_FILENAME@")
|