Skip to content

Commit

Permalink
link expat correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
tfussell committed Mar 11, 2017
1 parent 11fb80c commit eb078dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions third-party/libstudxml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb078dc

Please sign in to comment.