From 8e66b77c91a9f2c2a0bdf9c8f31708bb856cbf5b Mon Sep 17 00:00:00 2001 From: Marek Pokorny Date: Mon, 28 Jan 2013 10:52:01 -0800 Subject: [PATCH] Fixed CMake config file to properly install on windows --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f7c7de..bc09090 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,10 +63,12 @@ target_link_libraries(test tinyxml2) if(BUILD_STATIC_LIBS) install(TARGETS tinyxml2 tinyxml2static + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) else(BUILD_STATIC_LIBS) install(TARGETS tinyxml2 + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif(BUILD_STATIC_LIBS) install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})