From a6033cfdaf42af3eff752f44105d9ac4089682e2 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 3 Sep 2021 22:28:23 +0200 Subject: [PATCH] add: cxx compiler set --- CMakeLists.txt | 2 ++ libs/spandisc/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) 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) -- 2.39.5