Skip to content

Commit

Permalink
Relax check for MSVC and set minimum required version of CMake to 2.8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kislinsk committed Jul 5, 2017
1 parent e39be13 commit 3dfe45d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# If you are not a CMake expert, you should better use the provided qmake profiles.
#-----------------------------------------------------------------------------

cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 2.8.12)

#-----------------------------------------------------------------------------
project(PythonQt)
Expand Down Expand Up @@ -349,7 +349,7 @@ set_target_properties(PythonQt PROPERTIES
)

target_compile_options(PythonQt PRIVATE
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,19.0>>:/bigobj>
$<$<CXX_COMPILER_ID:MSVC>:/bigobj>
)

target_link_libraries(PythonQt
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ official repository.
Prerequisites
-------------

* CMake 3.x
* CMake 2.8.12
* Qt 4.6.2 or above

Build instructions
Expand Down

0 comments on commit 3dfe45d

Please sign in to comment.