Skip to content

Commit

Permalink
fix #3504, build with qt4 even if qt5 exists
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Oct 12, 2015
1 parent 7ceabdd commit 1501542
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qjson/CMakeLists.txt
Expand Up @@ -41,6 +41,8 @@ SET(FRAMEWORK_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/Library/Frameworks"
SET(QT_USE_IMPORTED_TARGETS TRUE)

option(QT4_BUILD "Force building with Qt4 even if Qt5 is found")
set(QT4_BUILD ON)

IF (NOT QT4_BUILD)
FIND_PACKAGE( Qt5Core QUIET )
ENDIF()
Expand Down

0 comments on commit 1501542

Please sign in to comment.