ResInsight/ThirdParty/nightcharts/CMakeLists.txt

29 lines
582 B
CMake
Raw Normal View History

cmake_minimum_required (VERSION 2.8.12)
project (nightcharts)
2020-04-23 15:59:37 -05:00
find_package(Qt5 COMPONENTS REQUIRED Core Widgets)
set(QT_LIBRARIES Qt5::Core Qt5::Widgets)
qt5_wrap_cpp(MOC_SOURCE_FILES ${MOC_HEADER_FILES})
list (APPEND MAIN_SOURCE_FILES
nightcharts.h
nightcharts.cpp
nightchartswidget.h
nightchartswidget.cpp
)
add_library( ${PROJECT_NAME}
STATIC
${MAIN_SOURCE_FILES}
)
target_include_directories(${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
)
2019-05-28 07:11:08 -05:00
target_link_libraries(${PROJECT_NAME} ${QT_LIBRARIES})
source_group("" FILES ${PROJECT_FILES})