1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

tests: fix compilation of tests on Rocky 9.4

This commit is contained in:
Sébastien Helleu
2024-05-26 15:41:52 +02:00
parent d1ae17a8e0
commit 917054c58d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
- tests: fix relay tests on s390x
- tests: fix check of php plugin
- tests: fix compilation of tests on Fedora 40
- tests: fix compilation of tests on Fedora 40 and Rocky 9.4
## Version 4.3.0 (2024-05-26)
+4
View File
@@ -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()