X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojspacker%2FCMakeLists.txt;h=682c1261f060a3ea1a150b280806c8e656603894;hb=b8d949dbf0f49c076f3a79b9aa4d20a29051a4aa;hp=753677a7ab69a226190437c315e383d3669eb2ce;hpb=fa6aadc1650cbc71dedf2b2489d65415b793b922;p=roojspacker diff --git a/roojspacker/CMakeLists.txt b/roojspacker/CMakeLists.txt index 753677a..682c126 100644 --- a/roojspacker/CMakeLists.txt +++ b/roojspacker/CMakeLists.txt @@ -127,10 +127,11 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROOJSPACKER_PKG_NAME}.vapi DESTINATION ${CMAKE_INSTALL_DATADIR}/vala/vapi) # Install the library -install (TARGETS ${ROOJSPACKER_LIBRARY_NAME} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} # On Windows, the DLL goes in the same place as the executables - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} # This is where shared libraries (*.so on Linux, *.dynlib on OS X) - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) # Finally, this is where static libraries (*.a) go +install ( + TARGETS ${ROOJSPACKER_LIBRARY_NAME} + RUNTIME DESTINATION bin # On Windows, the DLL goes in the same place as the executables + LIBRARY DESTINATION lib # This is where shared libraries (*.so on Linux, *.dynlib on OS X) + ARCHIVE DESTINATION lib) # Finally, this is where static libraries (*.a) go # Install the C header install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROOJSPACKER_PKG_NAME}.h @@ -167,4 +168,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROOJSPACKER_PKG_NAME}.pc # DESTINATION "${CMAKE_INSTALL_DATADIR}/devhelp/books") # add_custom_target(doc ALL # DEPENDS html devhelp) -#endif() \ No newline at end of file +#endif()