Browse Source

Minor change to install.md and added define UBUNTU_BUGGED_MENU to LinuxMint.

merge-requests/365/head
eidheim 10 years ago
parent
commit
3839427872
  1. 4
      docs/install.md
  2. 2
      src/CMakeLists.txt

4
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

2
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()

Loading…
Cancel
Save