Browse Source

fixed gui CMakeLists

Denys 4 years ago
parent
commit
02b6700ba3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/CMakeLists.txt

+ 1 - 1
gui/CMakeLists.txt

@@ -18,5 +18,5 @@ add_definitions(-DQT_NO_DEBUG_OUTPUT)
 
 add_executable(${PROJECT_NAME} src/main.cpp src/cmdmanager.cpp src/qmlhandler.cpp src/jsonhandler.cpp src/qml.qrc src/config.cpp src/climanager.cpp include/qmlhandler.h)
 
-include_directories(${JSONCPP_INCLUDEDIR} include)
+include_directories(${JSONCPP_INCLUDE_DIRS} include)
 target_link_libraries(${PROJECT_NAME} PRIVATE ${CMAKE_THREAD_LIBS_INIT} ${JSONCPP_LIBRARIES} Qt5::Core Qt5::Quick Qt5::Widgets)