From e5597c38f04204101da85698b867ad1830c63255 Mon Sep 17 00:00:00 2001 From: Christoph Schueler Date: Wed, 28 Aug 2024 14:10:40 +0300 Subject: [PATCH] Try Linux builds #13 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 65d68ea..f27dc8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.20...3.30) project(pyxcp_extensions LANGUAGES C CXX) - +cmake_policy(SET CMP0094 NEW) message(STATUS "Buildtype: " ${CMAKE_BUILD_TYPE}) find_package(Python3 COMPONENTS Interpreter Development) @@ -109,7 +109,7 @@ ELSEIF (CMAKE_C_COMPILER_ID MATCHES "MSVC") ENDIF() IF (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_CXX_COMPILER_ID MATCHES "Clang") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" -fuse-ld=lld) + # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" -fuse-ld=lld) ENDIF() # target_include_directories(preprocessor PUBLIC $)