Skip to content

Commit

Permalink
Try Linux builds #13
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Aug 28, 2024
1 parent f6f28d6 commit e5597c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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 $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/pya2l/extensions>)
Expand Down

0 comments on commit e5597c3

Please sign in to comment.