Skip to content
Snippets Groups Projects
Commit 51e78516 authored by PENGUINLIONG's avatar PENGUINLIONG Committed by Tianqi Chen
Browse files

Fix Cmake error on Windows (#160)

parent 73962977
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,12 @@ endif()
# ---[ Install lib, header and docs
if(BUILD_SHARED_NNVM)
install(TARGETS nnvm LIBRARY DESTINATION lib)
if(WIN32)
install(TARGETS nnvm RUNTIME DESTINATION bin)
install(TARGETS nnvm ARCHIVE DESTINATION lib)
else()
install(TARGETS nnvm LIBRARY DESTINATION lib)
endif()
endif()
if(BUILD_STATIC_NNVM)
install(TARGETS nnvm_static ARCHIVE DESTINATION lib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment