From eb078dce9920d36376721013107af576eec52763 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 11 Mar 2017 14:19:23 -0500 Subject: [PATCH] link expat correctly --- third-party/libstudxml/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/third-party/libstudxml/CMakeLists.txt b/third-party/libstudxml/CMakeLists.txt index 4df947a0..cbfff050 100644 --- a/third-party/libstudxml/CMakeLists.txt +++ b/third-party/libstudxml/CMakeLists.txt @@ -32,9 +32,10 @@ target_compile_definitions(libstudxml PUBLIC LIBSTUDXML_STATIC_LIB=1 PUBLIC LIBSTUDXML_EXTERNAL_EXPAT=1) target_include_directories(libstudxml - PUBLIC ${LIBSTUDXML_ROOT_DIR}) + PUBLIC ${LIBSTUDXML_ROOT_DIR} + PUBLIC ${EXPAT_INCLUDE_DIRS}) target_link_libraries(libstudxml - PRIVATE expat) + PRIVATE ${EXPAT_LIBRARIES}) if(NOT STATIC) set_target_properties(libstudxml PROPERTIES POSITION_INDEPENDENT_CODE 1)