[bugfix] close #107. On DLL platforms, cmake treats shared library files as same as

BINARY targets, not as LIBRARY targets. Thanks a lot, @ktakashi!
This commit is contained in:
Yuichi Nishiwaki 2014-05-18 16:21:54 +09:00
parent 085d3e198c
commit f2d56714b3
1 changed files with 1 additions and 1 deletions

View File

@ -22,5 +22,5 @@ add_library(picrin SHARED ${PICRIN_SOURCES} ${PICLIB_SOURCES} ${FLEX_scan_OUTPUT
target_link_libraries(picrin m ${PICRIN_CONTRIB_LIBRARIES})
# install
install(TARGETS picrin LIBRARY DESTINATION lib)
install(TARGETS picrin DESTINATION lib)
install(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h")