From ae0303832314166a699e26500b172af62f098b1d Mon Sep 17 00:00:00 2001 From: Eyck-Alexander Jentzsch Date: Sat, 11 May 2024 15:07:20 +0200 Subject: [PATCH] makes building tcc dependent on WITH_TCC option --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cab3fa..0372ff1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,9 +93,8 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS") ) set(CONAN_PACKAGE_OPTIONS fmt:header_only=True ${CONAN_BOOST_OPTIONS}) - if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") + if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND WITH_TCC) list(APPEND CONAN_PACKAGE_LIST tcc/0.9.27) - option(WITH_TCC "Build TCC backend" ON) endif() if(WITH_LLVM)