Commit 2eb346b0 authored by Filippo Rusconi's avatar Filippo Rusconi
Browse files

Fix the way PappsoMSpp and PappsoMSppWidget are searched for using CMake.

parent ddb76f3a
......@@ -9,10 +9,14 @@ set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES /usr/include)
find_package(OdsStream REQUIRED)
find_package (PappsoMSpp REQUIRED)
find_package(PappsoMSpp COMPONENTS Core Widget REQUIRED)
if(PappsoMSpp_FOUND)
find_package (PappsoMSppWidget REQUIRED)
message(STATUS "PappsoMSpp and PappsoMSppWidget were found at: ${PappsoMSpp_LIBRARY}")
message(STATUS "Include dir for PappsoMSpp is at: ${PappsoMSpp_INCLUDE_DIRS}")
endif()
find_package( QCustomPlot REQUIRED )
......
Markdown is supported
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