Skip to content

Commit

Permalink
Merge pull request #9 from ModOrganizer2/update-cmake-common-qt6
Browse files Browse the repository at this point in the history
Update following cmake_common changes.
  • Loading branch information
Holt59 authored Apr 28, 2022
2 parents 69fa4b8 + bdd4397 commit 1bfa648
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 47 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
cmake_minimum_required(VERSION 3.16)

project(preview_base)
set(project_type plugin)

if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/project.cmake)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake)
else()
include(../cmake_common/project.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/../cmake_common/mo2.cmake)
endif()

project(preview_base)
add_subdirectory(src)
9 changes: 4 additions & 5 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required(VERSION 3.16)
if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake)
else()
include(../../cmake_common/src.cmake)
endif()

add_library(preview_base SHARED)
mo2_configure_plugin(preview_base WARNINGS OFF)
mo2_install_target(preview_base)
11 changes: 0 additions & 11 deletions src/SConscript

This file was deleted.

26 changes: 0 additions & 26 deletions src/previewBase.pro

This file was deleted.

0 comments on commit 1bfa648

Please sign in to comment.