diff options
author | montellese <montellese@xbmc.org> | 2015-08-25 09:19:44 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2015-08-25 09:19:44 +0200 |
commit | cb8c00c62f5e7db74b613110b277fe83b75fde69 (patch) | |
tree | dc6bf28484320d07dceae8db46f8fd1ac69a1eed /project | |
parent | 183b21380ba6ef570fc2a121c9124314e33b5a00 (diff) |
[win32] fix minimum required CMake version for generator expressions
Diffstat (limited to 'project')
-rw-r--r-- | project/cmake/addons/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt index 031377c79f..f017a498c8 100644 --- a/project/cmake/addons/CMakeLists.txt +++ b/project/cmake/addons/CMakeLists.txt @@ -1,6 +1,11 @@ project(kodi-addons) -cmake_minimum_required(VERSION 2.8) +if(WIN32) + # there seems to be a bug in the CMake generator implementation in CMake 2.8.x releases for WIN32 + cmake_minimum_required(VERSION 3.0) +else() + cmake_minimum_required(VERSION 2.8) +endif() list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) |