Merge pull request #12 from ModOrganizer2/update-cmake-common-qt6

Update following cmake_common changes.
This commit is contained in:
Mikaël Capelle
2022-04-28 17:54:23 +02:00
committed by GitHub
2 changed files with 7 additions and 11 deletions
+4 -6
View File
@@ -1,12 +1,10 @@
cmake_minimum_required(VERSION 3.16)
project(Form43Checker LANGUAGES CXX)
set(project_type python_plugin)
set(enable_warnings OFF)
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(Form43Checker LANGUAGES NONE)
add_subdirectory(src)
+3 -5
View File
@@ -1,6 +1,4 @@
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_custom_target(Form43Checker ALL)
mo2_configure_python(Form43Checker SIMPLE)