diff options
author | Alexander V. Wolf <alex.v.wolf@gmail.com> | 2022-01-08 05:22:30 +0700 |
---|---|---|
committer | Alexander V. Wolf <alex.v.wolf@gmail.com> | 2022-01-08 05:22:30 +0700 |
commit | 802c4add5cb20bacbd0ffc63faf8b6f2e421bf63 (patch) | |
tree | 1758a65481e002c2dfe35140923574e6e38d4c8d | |
parent | 391d2579beaa80ce6ab55eadc5b48e5af988da23 (diff) |
updated cmake script
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 03f4279d60..a024c7b527 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12) +CMAKE_MINIMUM_REQUIRED(VERSION 3.10.0) MESSAGE(STATUS "Found CMake ${CMAKE_VERSION}") IF(POLICY CMP0054) @@ -835,11 +835,10 @@ ADD_SUBDIRECTORY( plugins ) IF(ENABLE_SCRIPTING) ADD_SUBDIRECTORY( scripts ) ENDIF() -IF(ENABLE_NLS) - ADD_SUBDIRECTORY( po ) -ENDIF() IF(USE_PLUGIN_SCENERY3D) # add scenery3d scenes ADD_SUBDIRECTORY( scenery3d ) ENDIF() - +IF(ENABLE_NLS) + ADD_SUBDIRECTORY( po ) +ENDIF() |