mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 10:13:12 +02:00
core: do not add flag "-fPIC" on Cygwin (not needed)
This commit is contained in:
@@ -32,7 +32,10 @@ plugin-script-callback.c plugin-script-callback.h)
|
||||
include_directories(${CMAKE_BINARY_DIR})
|
||||
add_library(weechat_plugins STATIC ${LIB_PLUGINS_SRC})
|
||||
|
||||
add_definitions(${CMAKE_SHARED_LIBRARY_C_FLAGS} -fPIC)
|
||||
add_definitions(${CMAKE_SHARED_LIBRARY_C_FLAGS})
|
||||
if(NOT CYGWIN)
|
||||
add_definitions(-fPIC)
|
||||
endif()
|
||||
add_library(weechat_plugins_scripts STATIC ${LIB_PLUGINS_SCRIPTS_SRC})
|
||||
|
||||
include(CheckIncludeFiles)
|
||||
|
||||
Reference in New Issue
Block a user