mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
tests: fix compilation of tests on Rocky 9.4
This commit is contained in:
@@ -22,6 +22,10 @@ enable_language(CXX)
|
||||
remove_definitions(-DHAVE_CONFIG_H)
|
||||
include_directories(${CPPUTEST_INCLUDE_DIRS} ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR})
|
||||
|
||||
if(NOT CYGWIN)
|
||||
add_definitions(-fPIC)
|
||||
endif()
|
||||
|
||||
if(ENABLE_PYTHON)
|
||||
add_definitions(-DHAVE_PYTHON)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user