roojspacker/CMakeLists.txt wip_alan_T5732_roojspacker_try_getting_cmake_build
authorAlan Knowles <alan@roojs.com>
Fri, 15 Feb 2019 07:32:23 +0000 (15:32 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Feb 2019 07:32:23 +0000 (15:32 +0800)
Attribute changed roojspacker/.gitignore
roojspacker/.gitignore
Attribute changed bin/.gitignore
bin/.gitignore

roojspacker/CMakeLists.txt

index 30c4c01..753677a 100644 (file)
@@ -128,9 +128,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROOJSPACKER_PKG_NAME}.vapi
 
 # Install the library
 install (TARGETS ${ROOJSPACKER_LIBRARY_NAME}
-    RUNTIME DESTINATION bin ${CMAKE_INSTALL_BINDIR}  # On Windows, the DLL goes in the same place as the executables
-    LIBRARY DESTINATION lib ${CMAKE_INSTALL_LIBDIR}  # This is where shared libraries (*.so on Linux, *.dynlib on OS X)
-    ARCHIVE DESTINATION lib ${CMAKE_INSTALL_LIBDIR}) # Finally, this is where static libraries (*.a) go
+    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 the C header
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${ROOJSPACKER_PKG_NAME}.h