mirror of
https://github.com/ModOrganizer2/modorganizer-game_fallout4.git
synced 2026-07-27 14:00:37 -07:00
Merge pull request #21 from ModOrganizer2/update-cmake-common-qt6
Update following cmake_common changes.
This commit is contained in:
+4
-6
@@ -1,12 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(game_fallout4)
|
||||
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_fallout4)
|
||||
add_subdirectory(src)
|
||||
|
||||
+5
-9
@@ -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_fallout4 SHARED)
|
||||
mo2_configure_plugin(game_fallout4
|
||||
WARNINGS OFF
|
||||
PRIVATE_DEPENDS creation)
|
||||
mo2_install_target(game_fallout4)
|
||||
|
||||
Reference in New Issue
Block a user