diff --git a/internal/tinyxml2-3.0.0/CMakeLists.txt b/internal/tinyxml2-3.0.0/CMakeLists.txt index 5b6e97c..e8d0abb 100644 --- a/internal/tinyxml2-3.0.0/CMakeLists.txt +++ b/internal/tinyxml2-3.0.0/CMakeLists.txt @@ -59,21 +59,21 @@ add_dependencies(xmltest ${TARGET_DATA_COPY}) target_link_libraries(xmltest tinyxml2) -install(TARGETS tinyxml2 - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) +#install(TARGETS tinyxml2 +# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +# LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} +# ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) -install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +#install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -foreach(p LIB INCLUDE) - set(var CMAKE_INSTALL_${p}DIR) - if(NOT IS_ABSOLUTE "${${var}}") - set(${var} "${CMAKE_INSTALL_PREFIX}/${${var}}") - endif() -endforeach() +#foreach(p LIB INCLUDE) +# set(var CMAKE_INSTALL_${p}DIR) +# if(NOT IS_ABSOLUTE "${${var}}") +# set(${var} "${CMAKE_INSTALL_PREFIX}/${${var}}") +# endif() +#endforeach() -configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) +#configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY) +#install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) #add_test(xmltest ${SAMPLE_NAME} COMMAND $)