Skip to content

Commit 3dfe45d

Browse files
committed
Relax check for MSVC and set minimum required version of CMake to 2.8.12
1 parent e39be13 commit 3dfe45d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# If you are not a CMake expert, you should better use the provided qmake profiles.
66
#-----------------------------------------------------------------------------
77

8-
cmake_minimum_required(VERSION 3.0)
8+
cmake_minimum_required(VERSION 2.8.12)
99

1010
#-----------------------------------------------------------------------------
1111
project(PythonQt)
@@ -349,7 +349,7 @@ set_target_properties(PythonQt PROPERTIES
349349
)
350350

351351
target_compile_options(PythonQt PRIVATE
352-
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,19.0>>:/bigobj>
352+
$<$<CXX_COMPILER_ID:MSVC>:/bigobj>
353353
)
354354

355355
target_link_libraries(PythonQt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ official repository.
1717
Prerequisites
1818
-------------
1919

20-
* CMake 3.x
20+
* CMake 2.8.12
2121
* Qt 4.6.2 or above
2222

2323
Build instructions

0 commit comments

Comments
 (0)