Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Apply changes from google#1161 to support windows better (dll goes to runtime, .exp/.,lib to lib and .lib to lib )
  • Loading branch information
d3x0r committed Jul 31, 2017
1 parent 67f0164 commit 6828b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion googletest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ endif()
# Install rules
if(ENABLE_GOOGLETEST_INSTALL)
install(TARGETS gtest gtest_main
DESTINATION ${CMAKE_INSTALL_LIBDIR})
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(DIRECTORY ${gtest_SOURCE_DIR}/include/gtest
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
endif(ENABLE_GOOGLETEST_INSTALL)
Expand Down

0 comments on commit 6828b23

Please sign in to comment.