Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoreilly committed Jan 28, 2025
1 parent f85a87a commit 3ca27bc
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions src/qt-mbeditviz/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#------------------------------------------------------------------------------
# The MB-system: CMakeLists.txt 27 June 2023
#
# Copyright (c) 2023-2024 by
# David W. Caress ([email protected])
# Monterey Bay Aquarium Research Institute
# Moss Landing, California, USA
# Dale N. Chayes
# Center for Coastal and Ocean Mapping
# University of New Hampshire
# Durham, New Hampshire, USA
# Christian dos Santos Ferreira
# MARUM
# University of Bremen
# Bremen Germany
#
# MB-System was created by Caress and Chayes in 1992 at the
# Lamont-Doherty Earth Observatory
# Columbia University
# Palisades, NY 10964
#
# See README.md file for copying and redistribution conditions.
#------------------------------------------------------------------------------

find_package(
Qt6
COMPONENTS Gui Widgets Quick
REQUIRED)

find_package(VTK 9.3 REQUIRED COMPONENTS GUISupportQtQuick)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

add_executable(qt-mbeditviz Backend.cpp main.cpp qml.qrc)

message("CMAKE_SOURCE_DIR: ${CMAKE_SOURCE_DIR}")

target_include_directories(qt-mbeditviz
PUBLIC ${CMAKE_SOURCE_DIR}/src/mbaux)

target_compile_options(qt-mbeditviz PUBLIC "-Wunused-variable")

target_link_libraries(qt-mbeditviz PRIVATE MBGui Qt6::Core Qt6::Quick
VTK::GUISupportQtQuick mbaux)

install(TARGETS qt-mbeditviz DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 3ca27bc

Please sign in to comment.