diff CMakeLists.txt @ 1006:5eaa2a6aa0dc

misc: many fixes for Linux
author David Demelier <markand@malikania.fr>
date Tue, 16 Feb 2021 20:33:18 +0100
parents 2a6d753f79f6
children 637a98de3910
line wrap: on
line diff
--- a/CMakeLists.txt	Tue Feb 16 19:54:16 2021 +0100
+++ b/CMakeLists.txt	Tue Feb 16 20:33:18 2021 +0100
@@ -36,6 +36,8 @@
 	set(CMAKE_C_FLAGS "-Wall -Wextra ${CMAKE_C_FLAGS}")
 endif ()
 
+set(CMAKE_POSITION_INDEPENDENT_CODE On)
+
 include(GNUInstallDirs)
 
 include(cmake/IrccdDefinePlugin.cmake)