From: Bastian Dehn Date: Fri, 3 Sep 2021 20:28:23 +0000 (+0200) Subject: add: cxx compiler set X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=a6033cfdaf42af3eff752f44105d9ac4089682e2;p=discspan.git add: cxx compiler set --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 78dcaac..e5f6636 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13.4) set(CMAKE_C_COMPILER "/usr/bin/gcc") set(CMAKE_C_FLAGS "-Wall") +set(CMAKE_CXX_COMPILER "/usr/bin/g++") +set(CMAKE_CXX_FLAGS "-Wall") set(BINPATH "/usr/local/bin") diff --git a/libs/spandisc/CMakeLists.txt b/libs/spandisc/CMakeLists.txt index 0913282..5f52a55 100644 --- a/libs/spandisc/CMakeLists.txt +++ b/libs/spandisc/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13.4) set(CMAKE_C_COMPILER "/usr/bin/gcc") set(CMAKE_C_FLAGS "-Wall") +set(CMAKE_CXX_COMPILER "/usr/bin/g++") +set(CMAKE_CXX_FLAGS "-Wall") set(INSTALL_LIBPATH /usr/local/lib) set(INSTALL_HEADER /usr/local/include/spandisc)