Skip to content

Commit 8d6f9d1

Browse files
committed
fix lld
1 parent 7df8b93 commit 8d6f9d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
9191
set(PYTHONLIBS_VERSION_STRING ${Python_VERSION})
9292
set(PYTHON_INCLUDE_DIR ${Python_INCLUDE_DIRS})
9393
set(PYTHON_LIBRARIES ${Python_LIBRARIES})
94+
set(CMAKE_LINKER_TYPE "LLD")
9495
elseif(UNIX)
9596
find_package(Python 3.8 COMPONENTS Interpreter Development REQUIRED)
9697
set(Python_FIND_VIRTUALENV FIRST) # (require cmake >= v3.15 and this is the default) use the Python version configured by pyenv if available

0 commit comments

Comments
 (0)