From 2af125dc032eb9470a327137d6bb5890fed1e48d Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Tue, 31 Dec 2019 19:49:09 +0100 Subject: [PATCH] Use conan approved name for GNU C --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2db01b7..c494293 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ if (NOT EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) if (NOT WINDOWS) execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build missing -s compiler=clang -s compiler.libcxx=libstdc++11 -s compiler.version=${MAJOR}) else() - execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build missing -s compiler=GNU -s compiler.libcxx=libstdc++11 -s compiler.version=${MAJOR}) + execute_process(COMMAND conan install ${CMAKE_SOURCE_DIR} --install-folder=${CMAKE_BINARY_DIR} --build missing -s compiler=gcc -s compiler.libcxx=libstdc++11 -s compiler.version=${MAJOR}) endif() endif () include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)