Skip to content

Commit

Permalink
Merge pull request PolusAI#163 from sameeul/link_cleanup
Browse files Browse the repository at this point in the history
remove static linking
  • Loading branch information
sameeul authored Nov 8, 2023
2 parents 3a0c2fc + 0b63fb8 commit bf73594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.20)
project(AxleNyxus)
set(CMAKE_VERBOSE_MAKEFILE ON)

# this is a workaround for GitHub Action for wheelbuiling
if(DEFINED ENV{NYXUS_DEP_DIR})
Expand Down Expand Up @@ -413,7 +414,7 @@ endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
list(APPEND Nyxus_LIBRARIES stdc++fs -static-libgcc -static-libstdc++)
list(APPEND Nyxus_LIBRARIES stdc++fs)
endif()

if(BUILD_LIB)
Expand Down

0 comments on commit bf73594

Please sign in to comment.