From 38394278727428a7b7438f856ffcfdc1c00b57ea Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 28 Oct 2015 15:00:05 +0100 Subject: [PATCH] Minor change to install.md and added define UBUNTU_BUGGED_MENU to LinuxMint. --- docs/install.md | 4 ++-- src/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/install.md b/docs/install.md index 95bcaa0..9693755 100644 --- a/docs/install.md +++ b/docs/install.md @@ -8,7 +8,7 @@ sudo apt-get install git cmake make g++ libclang-dev pkg-config libboost-system- Get juCi++ source, compile and install: ```sh -git clone --recursive http://github.com/cppit/jucipp +git clone --recursive https://github.com/cppit/jucipp cd jucipp cmake . make @@ -33,7 +33,7 @@ sudo apt-get install git cmake make g++ libclang-3.6-dev pkg-config libboost-sys Get juCi++ source, compile and install: ```sh -git clone --recursive http://github.com/cppit/jucipp +git clone --recursive https://github.com/cppit/jucipp cd jucipp cmake . make diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3d246e2..2da1c6f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -15,7 +15,7 @@ if(UNIX) #Checking if compiling on Ubuntu that has a buggy menu system if(LSB_RELEASE_BIN) execute_process(COMMAND ${LSB_RELEASE_BIN} -is OUTPUT_VARIABLE DISTRIBUTION OUTPUT_STRIP_TRAILING_WHITESPACE) - if(DISTRIBUTION STREQUAL Ubuntu) + if((DISTRIBUTION STREQUAL Ubuntu) OR (DISTRIBUTION STREQUAL LinuxMint)) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUBUNTU_BUGGED_MENU") endif() endif()