mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
CMake build system: Linux fixes
This commit is contained in:
parent
ba1c0b0137
commit
d0c43c99c3
2 changed files with 3 additions and 0 deletions
|
@ -394,6 +394,8 @@ target_compile_options(XS PRIVATE ${PerlEmbed_CCFLAGS})
|
|||
# set(CMAKE_CXX_FLAGS_RELEASE /Od)
|
||||
# set(CMAKE_C_FLAGS_RELEASE /Od)
|
||||
#endif()
|
||||
# The following line will add -fPIC on Linux to make the XS.so rellocable.
|
||||
add_definitions(${PerlEmbed_CCCDLFLAGS})
|
||||
target_link_libraries(XS ${PERL_LIBRARY})
|
||||
|
||||
## REQUIRED packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue