Add "LIBRARY" destination for install commands.

This commit is contained in:
rude
2013-10-02 00:17:06 +02:00
parent ca8fdab359
commit 34d8250c2d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -112,5 +112,5 @@ if (DEVIL_BUILD_SHARED)
target_include_directories(DevIL PUBLIC include ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(DevIL PRIVATE src-IL/include)
target_link_libraries(DevIL ${PNG_LIB_NAME_STATIC} jpeg-static jasper-static tiff-static winmm.lib)
install(TARGETS DevIL RUNTIME DESTINATION .)
install(TARGETS DevIL RUNTIME DESTINATION . LIBRARY DESTINATION .)
endif()