Skip to content

Commit

Permalink
fixed cmake file for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jxyang committed May 21, 2017
1 parent 7ae224b commit 194df7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions runtime/CMakeLists.txt
Expand Up @@ -69,10 +69,17 @@ set_target_properties(libcsmith_so PROPERTIES OUTPUT_NAME "csmith")
# installs (for Linux). This is probably not very useful.
set_target_properties(libcsmith_so PROPERTIES VERSION 0.0.0 SOVERSION 0)

if(WIN32)
install(TARGETS libcsmith_so
RUNTIME
DESTINATION "${LIB_DIR}"
)
else()
install(TARGETS libcsmith_so
LIBRARY
DESTINATION "${LIB_DIR}"
)
endif()

###############################################################################

Expand Down

0 comments on commit 194df7a

Please sign in to comment.