mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
CMake build system: Link perl library on windows only.
This commit is contained in:
@@ -398,7 +398,7 @@ target_compile_options(XS PRIVATE ${PerlEmbed_CCFLAGS})
|
||||
#endif()
|
||||
# The following line will add -fPIC on Linux to make the XS.so rellocable.
|
||||
add_definitions(${PerlEmbed_CCCDLFLAGS})
|
||||
if (NOT APPLE)
|
||||
if (WIN32)
|
||||
target_link_libraries(XS ${PERL_LIBRARY})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user