comparison libfdproto/CMakeLists.txt @ 1561:699c3fb0c57b

Switch from libidn to libidn2. libidn2 is the backwards compatible successor to libidn, and at least Red Hat 8 does not provide a dev package for libidn1.
author Thomas Klausner <wiz@gatalith.at>
date Wed, 16 Jun 2021 18:44:45 +0200
parents 9084c6f94a0a
children
comparison
equal deleted inserted replaced
1560:9084c6f94a0a 1561:699c3fb0c57b
25 25
26 26
27 # Save the list of files for testcases in the core's directory 27 # Save the list of files for testcases in the core's directory
28 SET(LFDPROTO_SRC ${LFDPROTO_SRC} PARENT_SCOPE) 28 SET(LFDPROTO_SRC ${LFDPROTO_SRC} PARENT_SCOPE)
29 29
30 # Include path
31 INCLUDE_DIRECTORIES(${LFDPROTO_INCLUDES})
32
33 # Build as a shared library 30 # Build as a shared library
34 ADD_LIBRARY(libfdproto SHARED ${LFDPROTO_SRC}) 31 ADD_LIBRARY(libfdproto SHARED ${LFDPROTO_SRC})
32
33 # Include path
34 TARGET_INCLUDE_DIRECTORIES(libfdproto PRIVATE /a/b/c ${LFDPROTO_INCLUDES})
35 35
36 ADD_DEPENDENCIES(libfdproto version_information) 36 ADD_DEPENDENCIES(libfdproto version_information)
37 37
38 # Avoid the liblib name, and set the version 38 # Avoid the liblib name, and set the version
39 SET_TARGET_PROPERTIES(libfdproto PROPERTIES 39 SET_TARGET_PROPERTIES(libfdproto PROPERTIES
"Welcome to our mercurial repository"