Skip to content

Commit

Permalink
test(ci): windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziqi-Yang committed Jul 31, 2024
1 parent 9ee523d commit 1a3409c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ project(${SKBUILD_PROJECT_NAME})

# required for linking fmt library during cibuildwheels build on manylinux_2_28
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()

include(FetchContent)
FetchContent_Declare(
Expand Down

0 comments on commit 1a3409c

Please sign in to comment.