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

Update following cmake_common changes.
This commit is contained in:
Mikaël Capelle
2022-04-28 17:50:57 +02:00
committed by GitHub
2 changed files with 9 additions and 15 deletions
+4 -6
View File
@@ -1,12 +1,10 @@
cmake_minimum_required(VERSION 3.16)
project(game_fallout4vr)
set(project_type 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(game_fallout4vr)
add_subdirectory(src)
+5 -9
View File
@@ -1,11 +1,7 @@
cmake_minimum_required(VERSION 3.16)
set(additional_translations ${modorganizer_super_path}/game_gamebryo/src)
if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake)
else()
include(../../cmake_common/src.cmake)
endif()
requires_project(game_features game_gamebryo)
add_library(game_fallout4vr SHARED)
mo2_configure_plugin(game_fallout4vr
WARNINGS OFF
PRIVATE_DEPENDS creation)
mo2_install_target(game_fallout4vr)