Skip to content

Commit

Permalink
fix lld
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmader committed Dec 2, 2024
1 parent 7df8b93 commit 8d6f9d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
set(PYTHONLIBS_VERSION_STRING ${Python_VERSION})
set(PYTHON_INCLUDE_DIR ${Python_INCLUDE_DIRS})
set(PYTHON_LIBRARIES ${Python_LIBRARIES})
set(CMAKE_LINKER_TYPE "LLD")
elseif(UNIX)
find_package(Python 3.8 COMPONENTS Interpreter Development REQUIRED)
set(Python_FIND_VIRTUALENV FIRST) # (require cmake >= v3.15 and this is the default) use the Python version configured by pyenv if available
Expand Down

0 comments on commit 8d6f9d1

Please sign in to comment.