[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:
parent
085d3e198c
commit
f2d56714b3
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue