Skip to content

Commit

Permalink
version compare is not strict
Browse files Browse the repository at this point in the history
also fix sipify test
  • Loading branch information
3nids committed Jan 17, 2018
1 parent 458cab7 commit 4a0eedd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ ENDIF(NOT QT_MOBILITY_LOCATION_FOUND)
# * prepend auto-generated Python signature to existing Docstrings
# * document template based classes
SET(DOCSTRINGSTEMPLATE "//")
IF(${SIP_VERSION_STR} VERSION_GREATER 4.19.6)
IF(${SIP_VERSION_STR} VERSION_GREATER 4.19.7)
SET(DEFAULTDOCSTRINGSIGNATURE "%DefaultDocstringSignature \"prepended\"")
SET(DOCSTRINGSTEMPLATE "")
ENDIF(${SIP_VERSION_STR} VERSION_GREATER 4.19.6)
ENDIF(${SIP_VERSION_STR} VERSION_GREATER 4.19.7)

# core module
FILE(GLOB_RECURSE sip_files_core core/*.sip core/*.sip.in)
Expand Down
2 changes: 1 addition & 1 deletion tests/code_layout/sipifyheader.expected.sip
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ remove argument
void FallBackToPublic();

private:
void ShowThisPrivateOne() ;
void ShowThisPrivateOne();
};

class ClassWithPrivateInheritanceOnly /Abstract/
Expand Down

0 comments on commit 4a0eedd

Please sign in to comment.