Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzahaki authored Oct 15, 2024
1 parent 24e74f3 commit d4dfab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sudio/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ if(MSVC)
target_compile_options(sudio_io PRIVATE /EHsc /MP /bigobj)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
else()
target_compile_options(sudio_io PRIVATE -O3 -Wall -Wextra)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
target_compile_options(sudio_io PRIVATE -O3 -Wall -Wextra -fPIC)

endif()

set_target_properties(sudio_io PROPERTIES
Expand Down

0 comments on commit d4dfab4

Please sign in to comment.