-
-
Save pcercuei/44462d30de7eac0f195118d7ec545c91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.16) | |
project(test LANGUAGES C) | |
set(BUILD_SHARED_LIBS OFF) | |
find_package(LibXml2 NO_MODULE) | |
set_target_properties(LibXml2::LibXml2 PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES CXX) | |
add_executable(test test.c) | |
target_link_libraries(test LibXml2::LibXml2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment