diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e4deacc..01cf0158 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,9 +112,9 @@ message(" - Use Cairo: ${WITH_CAIRO}") message("\n") -if(WITH_CAIRO) +if (WITH_CAIRO) add_definitions(-DWITH_CAIRO) -endif(WITH_QT_UI) +endif(WITH_CAIRO) #Add each LibreCAD component add_subdirectory("lckernel") diff --git a/scripts/ubuntu-install/installDependenciesAndBuildRepo.sh b/scripts/ubuntu-install/installDependenciesAndBuildRepo.sh index 1744825c..bdda7200 100755 --- a/scripts/ubuntu-install/installDependenciesAndBuildRepo.sh +++ b/scripts/ubuntu-install/installDependenciesAndBuildRepo.sh @@ -3,7 +3,7 @@ sudo apt upgrade sudo apt install -qq cmake qttools5-dev qttools5-dev-tools libqt5opengl5-dev liblua5.3-dev git gcc \ libcairo2-dev libpango-1.0-0 libpango1.0-dev libboost-dev libboost-log-dev libboost-program-options-dev \ libqt5svg5-dev libgtest-dev libeigen3-dev libcurl4-gnutls-dev libgtk-3-dev libglew-dev rapidjson-dev \ -libbz2-dev libglfw3-dev libglm-dev libfltk1.3-dev doxygen mkdocs qtchooser +libbz2-dev libglfw3-dev libglm-dev libfltk1.3-dev doxygen mkdocs qtchooser libglut3-dev #This is for versions older that 20.04, like ubuntu 18.04