Commit 1f4bc8fe authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

PhySim finder conditionally using Qwt5 or 6.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19593 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a1caf2a
......@@ -16,7 +16,11 @@ FIND_PATH( PHYSIM_INCLUDE_DIRS PhySim/Config/PhySimDefines.hh
add_definitions (-DPHYSIMDLL -DUSEPHYSIM )
SET( PHYSIM_DEPS "Qwt6;GMP" )
if (QT5_FOUND)
SET( PHYSIM_DEPS "Qwt6;GMP" )
else ()
SET( PHYSIM_DEPS "Qwt5;GMP" )
endif ()
IF (PHYSIM_INCLUDE_DIRS)
SET(PHYSIM_FOUND TRUE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment