File: NodeEditorConfig.cmake.in

package info (click to toggle)
qnodeeditor 2.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,144 kB
  • sloc: cpp: 8,823; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 485 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
get_filename_component(NodeEditor_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

include(CMakeFindDependencyMacro)

# NOTE Had to use find_package because find_dependency does not support COMPONENTS or MODULE until 3.8.0

find_package(Qt5 REQUIRED COMPONENTS
             Core
             Widgets
             Gui
             OpenGL)

if(NOT TARGET NodeEditor::nodes)
    include("${NodeEditor_CMAKE_DIR}/NodeEditorTargets.cmake")
endif()

set(NodeEditor_LIBRARIES NodeEditor::nodes)