Update following cmake_common changes.

This commit is contained in:
Mikaël Capelle
2022-04-17 16:24:09 +02:00
parent 16939ac6c7
commit e82de5717a
+8 -9
View File
@@ -1,14 +1,13 @@
cmake_minimum_required(VERSION 3.16)
project(basic_games LANGUAGES NONE)
set(project_type python_module_plugin)
set(enable_warnings OFF)
set(create_translations OFF)
if(DEFINED DEPENDENCIES_DIR)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/project.cmake)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/src.cmake)
include(${DEPENDENCIES_DIR}/modorganizer_super/cmake_common/mo2.cmake)
else()
include(../cmake_common/project.cmake)
include(../../cmake_common/src.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/cmake_common/mo2.cmake)
endif()
project(basic_games LANGUAGES NONE)
add_custom_target(basic_games ALL)
mo2_configure_python(basic_games
MODULE
TRANSLATIONS OFF)