Permalink
Browse files

CPack: binary packaging.

- Creates NSIS auto-installer for Windows, .deb package and .rpm package (not tested) at the moment

- Package name format includes YYYY.MM.DD_<git short hash> being YYYY.MM.DD the actual date of package building and <git short head> the short hash string of the last git commit.

- If building on Windows with MSVC, tries to include the necessary redist files from the local Visual Studio installation (poorly tested and incomplete yet)

- Best option to build on Windows is to use MinGW.

- OSX packaging is missing at the moment.

- As easy as "make package".
  • Loading branch information...
1 parent 520e2ba commit 4696f358f362f2f6bf8d78611632b6285c9acbb6 @omf omf committed Apr 17, 2011
Showing with 238 additions and 138 deletions.
  1. +100 −0 CMakeLists.txt
  2. +2 −2 addons/AVCodec/CMakeLists.txt
  3. +2 −2 addons/AsyncRequest/CMakeLists.txt
  4. +2 −2 addons/BigNum/CMakeLists.txt
  5. +2 −2 addons/Bitly/CMakeLists.txt
  6. +2 −2 addons/Blowfish/CMakeLists.txt
  7. +2 −2 addons/Box/CMakeLists.txt
  8. +2 −2 addons/CFFI/CMakeLists.txt
  9. +2 −2 addons/CGI/CMakeLists.txt
  10. +2 −2 addons/Cairo/CMakeLists.txt
  11. +2 −2 addons/Clutter/CMakeLists.txt
  12. +2 −2 addons/ContinuedFraction/CMakeLists.txt
  13. +2 −2 addons/Curses/CMakeLists.txt
  14. +2 −2 addons/DBI/CMakeLists.txt
  15. +2 −2 addons/DistributedObjects/CMakeLists.txt
  16. +2 −2 addons/EditLine/CMakeLists.txt
  17. +2 −2 addons/Facebook/CMakeLists.txt
  18. +2 −2 addons/Flux/CMakeLists.txt
  19. +2 −2 addons/Fnmatch/CMakeLists.txt
  20. +2 −2 addons/Font/CMakeLists.txt
  21. +2 −2 addons/GLFW/CMakeLists.txt
  22. +2 −2 addons/GoogleSearch/CMakeLists.txt
  23. +2 −2 addons/HttpClient/CMakeLists.txt
  24. +2 −2 addons/Image/CMakeLists.txt
  25. +2 −2 addons/LZO/CMakeLists.txt
  26. +2 −2 addons/LibSndFile/CMakeLists.txt
  27. +2 −2 addons/Libxml2/CMakeLists.txt
  28. +2 −2 addons/Loki/CMakeLists.txt
  29. +2 −2 addons/Loudmouth/CMakeLists.txt
  30. +2 −2 addons/MD5/CMakeLists.txt
  31. +2 −2 addons/Memcached/CMakeLists.txt
  32. +2 −2 addons/MySQL/CMakeLists.txt
  33. +2 −2 addons/NotificationCenter/CMakeLists.txt
  34. +2 −2 addons/ODE/CMakeLists.txt
  35. +3 −3 addons/Oauth/CMakeLists.txt
  36. +2 −2 addons/Obsidian/CMakeLists.txt
  37. +2 −2 addons/Ogg/CMakeLists.txt
  38. +2 −2 addons/OpenGL/CMakeLists.txt
  39. +2 −2 addons/PostgreSQL/CMakeLists.txt
  40. +2 −2 addons/Python/CMakeLists.txt
  41. +2 −2 addons/QDBM/CMakeLists.txt
  42. +2 −2 addons/Random/CMakeLists.txt
  43. +2 −2 addons/Range/CMakeLists.txt
  44. +2 −2 addons/Rational/CMakeLists.txt
  45. +2 −2 addons/ReadLine/CMakeLists.txt
  46. +2 −2 addons/Regex/CMakeLists.txt
  47. +2 −2 addons/SGML/CMakeLists.txt
  48. +2 −2 addons/SHA1/CMakeLists.txt
  49. +2 −2 addons/SQLite3/CMakeLists.txt
  50. +2 −2 addons/SampleRateConverter/CMakeLists.txt
  51. +2 −2 addons/SecureSocket/CMakeLists.txt
  52. +2 −2 addons/Socket/CMakeLists.txt
  53. +2 −2 addons/SqlDatabase/CMakeLists.txt
  54. +2 −2 addons/Syslog/CMakeLists.txt
  55. +2 −2 addons/SystemCall/CMakeLists.txt
  56. +2 −2 addons/TagLib/CMakeLists.txt
  57. +2 −2 addons/Theora/CMakeLists.txt
  58. +2 −2 addons/Thread/CMakeLists.txt
  59. +2 −2 addons/TokyoCabinet/CMakeLists.txt
  60. +2 −2 addons/Twitter/CMakeLists.txt
  61. +2 −2 addons/UUID/CMakeLists.txt
  62. +2 −2 addons/User/CMakeLists.txt
  63. +2 −2 addons/VertexDB/CMakeLists.txt
  64. +2 −2 addons/Volcano/CMakeLists.txt
  65. +2 −2 addons/Vorbis/CMakeLists.txt
  66. +2 −2 addons/Yajl/CMakeLists.txt
  67. +2 −2 addons/Zlib/CMakeLists.txt
  68. +1 −1 libs/basekit/CMakeLists.txt
  69. +1 −1 libs/coroutine/CMakeLists.txt
  70. +1 −1 libs/garbagecollector/CMakeLists.txt
  71. +1 −1 libs/iovm/CMakeLists.txt
  72. +1 −1 tools/CMakeLists.txt
View
100 CMakeLists.txt
@@ -109,3 +109,103 @@ copy_files(coroutine_headers ${PROJECT_SOURCE_DIR}/libs/coroutine/source/*.h ${C
copy_files(basekit_headers ${PROJECT_SOURCE_DIR}/libs/basekit/source/*.h ${CMAKE_CURRENT_BINARY_DIR}/_build/headers)
copy_files(garbagecollector_headers ${PROJECT_SOURCE_DIR}/libs/garbagecollector/source/*.h ${CMAKE_CURRENT_BINARY_DIR}/_build/headers)
copy_files(iovm_headers ${PROJECT_SOURCE_DIR}/libs/iovm/source/*.h ${CMAKE_CURRENT_BINARY_DIR}/_build/headers)
+
+
+# Packaging stuff
+
+#Modified from: http://www.mail-archive.com/cmake@cmake.org/msg32916.html
+MACRO (TODAY RESULT)
+ IF (WIN32)
+ EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE ${RESULT})
+ string(REGEX REPLACE "(..)/(..)/(....).*" "\\1.\\2.\\3" ${RESULT}
+${${RESULT}})
+ ELSEIF(UNIX)
+ EXECUTE_PROCESS(COMMAND "date" "+%d/%m/%Y" OUTPUT_VARIABLE ${RESULT})
+ string(REGEX REPLACE "(..)/(..)/(....).*" "\\1.\\2.\\3" ${RESULT}
+${${RESULT}})
+ ELSE (WIN32)
+ MESSAGE(SEND_ERROR "date not implemented")
+ SET(${RESULT} 000000)
+ ENDIF (WIN32)
+ENDMACRO (TODAY)
+
+TODAY(CMD_DATE)
+STRING(SUBSTRING ${CMD_DATE} 0 2 CMD_DATE_DAY)
+STRING(SUBSTRING ${CMD_DATE} 3 2 CMD_DATE_MON)
+STRING(SUBSTRING ${CMD_DATE} 6 4 CMD_DATE_YEAR)
+SET(CMD_DATE "${CMD_DATE_YEAR}.${CMD_DATE_MON}.${CMD_DATE_DAY}")
+
+IF(WIN32 AND NOT CYGWIN)
+ execute_process(COMMAND "cmd" " /C git rev-parse --short HEAD" OUTPUT_VARIABLE IO_GIT_REV)
+ELSE(WIN32 AND NOT CYGWIN)
+ execute_process(COMMAND git rev-parse --short HEAD OUTPUT_VARIABLE IO_GIT_REV)
+ENDIF(WIN32 AND NOT CYGWIN)
+string(REGEX REPLACE "(.......)." "\\1" IO_GIT_REV ${IO_GIT_REV})
+
+SET(CPACK_PACKAGE_NAME ${PROJECT_NAME})
+SET(CPACK_PACKAGE_VENDOR "iolanguage.com")
+SET(CPACK_PACKAGE_CONTACT "iolanguage@yahoogroups.com")
+SET(CPACK_RESOURCE_FILE_LICENSE ${PROJECT_SOURCE_DIR}/license/bsd_license.txt)
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Io Language")
+SET(CPACK_PACKAGE_VERSION "${CMD_DATE}_${IO_GIT_REV}")
+SET(CPACK_PACKAGE_VERSION_MAJOR ${CMD_DATE_YEAR})
+SET(CPACK_PACKAGE_VERSION_MINOR ${CMD_DATE_MON})
+SET(CPACK_PACKAGE_VERSION_PATCH ${CMD_DATE_DAY})
+SET(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME})
+
+IF(WIN32)
+ # It's not very clear whether redist files for MSVC build are in the path bellow...
+ # The semi-hardcoded path bellow is for Visual Studio 2008 Express.
+ # Anyway, we have to distinguish between Debug and Release redist files as well.
+ IF(MSVC)
+ STRING(REGEX REPLACE "\\\\" "\\\\\\\\" VC_INSTALL_PATH "$ENV{VCINSTALLDIR}")
+ SET(VC_RUNTIME_REDIST_FILES "File '${VC_INSTALL_PATH}\\\\redist\\\\Debug_NonRedist\\\\x86\\\\Microsoft.VC90.DebugCRT\\\\*.*'")
+ ENDIF(MSVC)
+
+ SET(CPACK_SET_DESTDIR "OFF")
+ SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.iolanguage.com")
+ SET(CPACK_NSIS_HELP_LINK "http://www.iolanguage.com")
+ SET(CPACK_NSIS_MODIFY_PATH "ON")
+ SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "
+ WriteIniStr '\$INSTDIR\\\\IoLanguageWebSite.url' 'InternetShortcut' 'URL' '${CPACK_NSIS_URL_INFO_ABOUT}'
+ SetOutPath '\$INSTDIR\\\\lib'
+ SetOverwrite try
+ ${VC_RUNTIME_REDIST_FILES}
+ ")
+ SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS "
+ Delete '\$INSTDIR\\\\IoLanguageWebSite.url'
+ Delete '\$INSTDIR\\\\lib\\\\*.*'
+ ")
+
+ SET(CPACK_NSIS_CREATE_ICONS "
+ CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Io CLI.lnk' '$INSTDIR\\\\bin\\\\io.exe'
+ CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\IoLanguage Web Site.lnk' '\$INSTDIR\\\\IoLanguageWebSite.url'
+ ")
+ SET(CPACK_NSIS_CREATE_ICONS_EXTRA "CreateShortCut '\$DESKTOP\\\\Io CLI.lnk' '$INSTDIR\\\\bin\\\\io.exe'")
+ SET(CPACK_NSIS_DELETE_ICONS "
+ Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\Io CLI.lnk'
+ Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\IoLanguage Web Site.lnk'
+ ")
+ SET(CPACK_NSIS_DELETE_ICONS_EXTRA "Delete '\$DESKTOP\\\\Io CLI.lnk'")
+ENDIF(WIN32)
+
+IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+ SET(CPACK_SET_DESTDIR "ON")
+
+ FIND_PROGRAM(DPKG_CMD dpkg)
+ IF(DPKG_CMD)
+ SET(CPACK_GENERATOR ${CPACK_GENERATOR} DEB)
+ ELSE(DPKG_CMD)
+ MESSAGE( STATUS "dpkg binary not found, not building debian package" )
+ ENDIF(DPKG_CMD)
+
+ FIND_PROGRAM(RPMBUILD_CMD rpmbuild)
+ IF(RPMBUILD_CMD)
+ SET( CPACK_GENERATOR ${CPACK_GENERATOR} RPM )
+ ELSE(RPMBUILD_CMD)
+ MESSAGE( STATUS "rpmbuild binary not found, not building rpm package" )
+ ENDIF(RPMBUILD_CMD)
+ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+
+include(CPack)
+
View
4 addons/AVCodec/CMakeLists.txt
@@ -41,6 +41,6 @@ if(FFMPEG_FOUND AND FFMPEG_SWSCALE_FOUND)
target_link_libraries(IoAVCodec iovmall ${FFMPEG_LIBRARIES} ${FFMPEG_SWS_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/AVCodec)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/AVCodec)
endif(FFMPEG_FOUND AND FFMPEG_SWSCALE_FOUND)
View
4 addons/AsyncRequest/CMakeLists.txt
@@ -35,6 +35,6 @@ if(ASYNCREQUEST_FOUND)
target_link_libraries(IoAsyncRequest iovmall ${LINK_RT_LIB})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/AsyncRequest)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/AsyncRequest)
endif(ASYNCREQUEST_FOUND)
View
4 addons/BigNum/CMakeLists.txt
@@ -35,6 +35,6 @@ if(GMP_FOUND)
target_link_libraries(IoBigNum iovmall ${GMP_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/BigNum)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/BigNum)
endif(GMP_FOUND)
View
4 addons/Bitly/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoBitly iovmall)
target_link_libraries(IoBitly iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Bitly)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Bitly)
View
4 addons/Blowfish/CMakeLists.txt
@@ -27,5 +27,5 @@ add_dependencies(IoBlowfish iovmall)
target_link_libraries(IoBlowfish iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Blowfish)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Blowfish)
View
4 addons/Box/CMakeLists.txt
@@ -28,5 +28,5 @@ add_dependencies(IoBox iovmall)
target_link_libraries(IoBox iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Box)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Box)
View
4 addons/CFFI/CMakeLists.txt
@@ -48,6 +48,6 @@ if(FFI_FOUND)
target_link_libraries(IoCFFI iovmall ${FFI_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/CFFI)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/CFFI)
endif(FFI_FOUND)
View
4 addons/CGI/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoCGI iovmall)
target_link_libraries(IoCGI iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/CGI)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/CGI)
View
4 addons/Cairo/CMakeLists.txt
@@ -63,6 +63,6 @@ if(CAIRO_FOUND)
target_link_libraries(IoCairo iovmall ${CAIRO_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Cairo)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Cairo)
endif(CAIRO_FOUND)
View
4 addons/Clutter/CMakeLists.txt
@@ -58,6 +58,6 @@ if(CLUTTER_FOUND AND ATK_FOUND AND GLIB2_FOUND AND Pango_1_0_FOUND AND CAIRO_FOU
${CAIRO_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Clutter)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Clutter)
endif(CLUTTER_FOUND AND ATK_FOUND AND GLIB2_FOUND AND Pango_1_0_FOUND AND CAIRO_FOUND)
View
4 addons/ContinuedFraction/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoContinuedFraction iovmall)
target_link_libraries(IoContinuedFraction iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/ContinuedFraction)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/ContinuedFraction)
View
4 addons/Curses/CMakeLists.txt
@@ -35,6 +35,6 @@ if(CURSES_FOUND)
target_link_libraries(IoCurses iovmall ${CURSES_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Curses)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Curses)
endif(CURSES_FOUND)
View
4 addons/DBI/CMakeLists.txt
@@ -37,6 +37,6 @@ if(DBI_FOUND)
target_link_libraries(IoDBI iovmall ${DBI_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/DBI)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/DBI)
endif(DBI_FOUND)
View
4 addons/DistributedObjects/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoDistributedObjects iovmall)
target_link_libraries(IoDistributedObjects iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/DistributedObjects)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/DistributedObjects)
View
4 addons/EditLine/CMakeLists.txt
@@ -35,6 +35,6 @@ if(EDIT_FOUND)
target_link_libraries(IoEditLine iovmall ${EDIT_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/EditLine)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/EditLine)
endif(EDIT_FOUND)
View
4 addons/Facebook/CMakeLists.txt
@@ -22,5 +22,5 @@ add_dependencies(IoFacebook iovmall)
target_link_libraries(IoFacebook iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Facebook)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Facebook)
View
4 addons/Flux/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoFlux iovmall)
target_link_libraries(IoFlux iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Flux)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Flux)
View
4 addons/Fnmatch/CMakeLists.txt
@@ -30,6 +30,6 @@ if(FNMATCH_FOUND)
target_link_libraries(IoFnmatch iovmall)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Fnmatch)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Fnmatch)
endif(FNMATCH_FOUND)
View
4 addons/Font/CMakeLists.txt
@@ -42,6 +42,6 @@ if(OPENGL_FOUND AND GLUT_FOUND AND FREETYPE_FOUND AND ((GLUT_Xmu_LIBRARY AND GLU
target_link_libraries(IoFont iovmall ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES} ${FREETYPE_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Font)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Font)
endif(OPENGL_FOUND AND GLUT_FOUND AND FREETYPE_FOUND AND ((GLUT_Xmu_LIBRARY AND GLUT_Xi_LIBRARY) OR NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
View
4 addons/GLFW/CMakeLists.txt
@@ -44,6 +44,6 @@ if(GLFW_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
target_link_libraries(IoGLFW iovmall ${GLFW_LIBRARY} ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/GLFW)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/GLFW)
endif(GLFW_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
View
4 addons/GoogleSearch/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoGoogleSearch iovmall)
target_link_libraries(IoGoogleSearch iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/GoogleSearch)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/GoogleSearch)
View
4 addons/HttpClient/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoHttpClient iovmall)
target_link_libraries(IoHttpClient iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/HttpClient)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/HttpClient)
View
4 addons/Image/CMakeLists.txt
@@ -45,6 +45,6 @@ if(PNG_FOUND AND TIFF_FOUND AND JPEG_FOUND)
target_link_libraries(IoImage iovmall ${PNG_LIBRARIES} ${TIFF_LIBRARIES} ${JPEG_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Image)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Image)
endif(PNG_FOUND AND TIFF_FOUND AND JPEG_FOUND)
View
4 addons/LZO/CMakeLists.txt
@@ -46,5 +46,5 @@ else()
endif(LZO_FOUND)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/LZO)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/LZO)
View
4 addons/LibSndFile/CMakeLists.txt
@@ -35,6 +35,6 @@ if(LIBSNDFILE_FOUND)
target_link_libraries(IoLibSndFile iovmall ${LIBSNDFILE_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/LibSndFile)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/LibSndFile)
endif(LIBSNDFILE_FOUND)
View
4 addons/Libxml2/CMakeLists.txt
@@ -41,6 +41,6 @@ if(LIBXML2_FOUND AND ICONV_FOUND)
target_link_libraries(IoLibxml2 iovmall ${LIBXML2_LIBRARIES} ${ICONV_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Libxml2)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Libxml2)
endif(LIBXML2_FOUND AND ICONV_FOUND)
View
4 addons/Loki/CMakeLists.txt
@@ -26,5 +26,5 @@ add_dependencies(IoLoki iovmall)
target_link_libraries(IoLoki iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Loki)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Loki)
View
4 addons/Loudmouth/CMakeLists.txt
@@ -37,6 +37,6 @@ if(LOUDMOUTH_FOUND)
target_link_libraries(IoLoudmouth iovmall ${LOUDMOUTH_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Loudmouth)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Loudmouth)
endif(LOUDMOUTH_FOUND)
View
4 addons/MD5/CMakeLists.txt
@@ -27,5 +27,5 @@ add_dependencies(IoMD5 iovmall)
target_link_libraries(IoMD5 iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/MD5)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/MD5)
View
4 addons/Memcached/CMakeLists.txt
@@ -35,6 +35,6 @@ if(LIBMEMCACHED_FOUND)
target_link_libraries(IoMemcached iovmall ${LIBMEMCACHED_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Memcached)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Memcached)
endif(LIBMEMCACHED_FOUND)
View
4 addons/MySQL/CMakeLists.txt
@@ -35,6 +35,6 @@ if(MYSQL_FOUND)
target_link_libraries(IoMySQL iovmall ${MYSQL_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/MySQL)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/MySQL)
endif(MYSQL_FOUND)
View
4 addons/NotificationCenter/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoNotificationCenter iovmall)
target_link_libraries(IoNotificationCenter iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/NotificationCenter)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/NotificationCenter)
View
4 addons/ODE/CMakeLists.txt
@@ -57,6 +57,6 @@ if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
target_link_libraries(IoODE iovmall ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/ODE)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/ODE)
endif(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND)
View
6 addons/Oauth/CMakeLists.txt
@@ -39,7 +39,7 @@ if(OPENSSL_FOUND)
target_link_libraries(IoOauth iovmall ${OPENSSL_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Oauth)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Oauth)
-endif(OPENSSL_FOUND)
+endif(OPENSSL_FOUND)
View
4 addons/Obsidian/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoObsidian iovmall)
target_link_libraries(IoObsidian iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Obsidian)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Obsidian)
View
4 addons/Ogg/CMakeLists.txt
@@ -38,6 +38,6 @@ if(OGG_FOUND)
target_link_libraries(IoOgg iovmall ${OGG_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Ogg)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Ogg)
endif(OGG_FOUND)
View
4 addons/OpenGL/CMakeLists.txt
@@ -47,6 +47,6 @@ if(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND AND ((GLUT_Xmu_LIBRARY AND G
target_link_libraries(IoOpenGL iovmall IoBox ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/OpenGL)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/OpenGL)
endif(OPENGL_FOUND AND OPENGL_GLU_FOUND AND GLUT_FOUND AND ((GLUT_Xmu_LIBRARY AND GLUT_Xi_LIBRARY) OR NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
View
4 addons/PostgreSQL/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoPostgreSQL iovmall)
target_link_libraries(IoPostgreSQL iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/PostgreSQL)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/PostgreSQL)
View
4 addons/Python/CMakeLists.txt
@@ -58,6 +58,6 @@ if(PYTHONLIBS_FOUND)
target_link_libraries(IoPython iovmall ${PYTHON_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Python)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Python)
endif(PYTHONLIBS_FOUND)
View
4 addons/QDBM/CMakeLists.txt
@@ -35,6 +35,6 @@ if(QDBM_FOUND)
target_link_libraries(IoQDBM iovmall ${QDBM_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/QDBM)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/QDBM)
endif(QDBM_FOUND)
View
4 addons/Random/CMakeLists.txt
@@ -26,5 +26,5 @@ add_dependencies(IoRandom iovmall)
target_link_libraries(IoRandom iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Random)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Random)
View
4 addons/Range/CMakeLists.txt
@@ -28,5 +28,5 @@ add_dependencies(IoRange iovmall)
target_link_libraries(IoRange iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Range)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Range)
View
4 addons/Rational/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoRational iovmall)
target_link_libraries(IoRational iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Rational)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Rational)
View
4 addons/ReadLine/CMakeLists.txt
@@ -35,6 +35,6 @@ if(READLINE_FOUND)
target_link_libraries(IoReadLine iovmall ${READLINE_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/ReadLine)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/ReadLine)
endif(READLINE_FOUND)
View
4 addons/Regex/CMakeLists.txt
@@ -38,6 +38,6 @@ if(PCRE_FOUND)
target_link_libraries(IoRegex iovmall ${PCRE_LIBRARIES} IoRange)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Regex)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Regex)
endif(PCRE_FOUND)
View
4 addons/SGML/CMakeLists.txt
@@ -33,5 +33,5 @@ add_dependencies(IoSGML iovmall sgml)
target_link_libraries(IoSGML iovmall sgml)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SGML)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SGML)
View
4 addons/SHA1/CMakeLists.txt
@@ -28,5 +28,5 @@ add_dependencies(IoSHA1 iovmall)
target_link_libraries(IoSHA1 iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SHA1)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SHA1)
View
4 addons/SQLite3/CMakeLists.txt
@@ -36,6 +36,6 @@ if(SQLITE_FOUND)
target_link_libraries(IoSQLite3 iovmall ${SQLITE_LIBRARIES})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SQLite3)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SQLite3)
endif(SQLITE_FOUND)
View
4 addons/SampleRateConverter/CMakeLists.txt
@@ -35,6 +35,6 @@ if(SAMPLERATE_FOUND)
target_link_libraries(IoSampleRateConverter iovmall ${SAMPLERATE_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SampleRateConverter)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SampleRateConverter)
endif(SAMPLERATE_FOUND)
View
4 addons/SecureSocket/CMakeLists.txt
@@ -40,6 +40,6 @@ if(SSL_FOUND)
target_link_libraries(IoSecureSocket iovmall ${SSL_LIBRARY} IoSocket)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SecureSocket)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SecureSocket)
endif(SSL_FOUND)
View
4 addons/Socket/CMakeLists.txt
@@ -63,6 +63,6 @@ if(EVENT_FOUND)
target_link_libraries(IoSocket iovmall ${EVENT_LIBRARY} ${LIBS})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Socket)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Socket)
endif(EVENT_FOUND)
View
4 addons/SqlDatabase/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoSqlDatabase iovmall)
target_link_libraries(IoSqlDatabase iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SqlDatabase)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SqlDatabase)
View
4 addons/Syslog/CMakeLists.txt
@@ -30,6 +30,6 @@ if(SYSLOG_FOUND)
target_link_libraries(IoSyslog iovmall)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Syslog)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Syslog)
endif(SYSLOG_FOUND)
View
4 addons/SystemCall/CMakeLists.txt
@@ -27,5 +27,5 @@ add_dependencies(IoSystemCall iovmall)
target_link_libraries(IoSystemCall iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/SystemCall)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/SystemCall)
View
4 addons/TagLib/CMakeLists.txt
@@ -35,6 +35,6 @@ if(TAGLIB_FOUND)
target_link_libraries(IoTagLib iovmall ${TAGLIB_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/TagLib)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/TagLib)
endif(TAGLIB_FOUND)
View
4 addons/Theora/CMakeLists.txt
@@ -41,6 +41,6 @@ if(THEORA_FOUND)
target_link_libraries(IoTheora iovmall ${THEORA_LIBRARY} IoOgg)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Theora)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Theora)
endif(THEORA_FOUND)
View
4 addons/Thread/CMakeLists.txt
@@ -34,6 +34,6 @@ if(CMAKE_USE_PTHREADS_INIT)
target_link_libraries(IoThread iovmall ${CMAKE_THREAD_LIBS_INIT} pthread)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Thread)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Thread)
endif(CMAKE_USE_PTHREADS_INIT)
View
4 addons/TokyoCabinet/CMakeLists.txt
@@ -37,6 +37,6 @@ if(TOKYOCABINET_FOUND)
target_link_libraries(IoTokyoCabinet iovmall ${TOKYOCABINET_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/TokyoCabinet)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/TokyoCabinet)
endif(TOKYOCABINET_FOUND)
View
4 addons/Twitter/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoTwitter iovmall)
target_link_libraries(IoTwitter iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Twitter)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Twitter)
View
4 addons/UUID/CMakeLists.txt
@@ -35,6 +35,6 @@ if(UUID_FOUND)
target_link_libraries(IoUUID iovmall)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/UUID)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/UUID)
endif(UUID_FOUND)
View
4 addons/User/CMakeLists.txt
@@ -26,5 +26,5 @@ add_dependencies(IoUser iovmall)
target_link_libraries(IoUser iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/User)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/User)
View
4 addons/VertexDB/CMakeLists.txt
@@ -23,5 +23,5 @@ add_dependencies(IoVertexDB iovmall)
target_link_libraries(IoVertexDB iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/VertexDB)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/VertexDB)
View
4 addons/Volcano/CMakeLists.txt
@@ -28,5 +28,5 @@ add_dependencies(IoVolcano iovmall)
target_link_libraries(IoVolcano iovmall)
# Install the addon to our global addons hierarchy.
-install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Volcano)
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Volcano)
View
4 addons/Vorbis/CMakeLists.txt
@@ -41,6 +41,6 @@ if(VORBIS_FOUND)
target_link_libraries(IoVorbis iovmall ${VORBIS_LIBRARY} IoOgg)
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Vorbis)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Vorbis)
endif(VORBIS_FOUND)
View
4 addons/Yajl/CMakeLists.txt
@@ -36,6 +36,6 @@ if(YAJL_FOUND)
target_link_libraries(IoYajl iovmall ${YAJL_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Yajl)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Yajl)
endif(YAJL_FOUND)
View
4 addons/Zlib/CMakeLists.txt
@@ -36,6 +36,6 @@ if(ZLIB_FOUND)
target_link_libraries(IoZlib iovmall ${ZLIB_LIBRARY})
# Install the addon to our global addons hierarchy.
- install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/io/addons/Zlib)
+ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION lib/io/addons)
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/_build DESTINATION lib/io/addons/Zlib)
endif(ZLIB_FOUND)
View
2 libs/basekit/CMakeLists.txt
@@ -23,4 +23,4 @@ add_library(basekit SHARED ${SRCS})
# The following add the install target, so we put libbasekit.* in our
# install prefix.
-install(TARGETS basekit DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+install(TARGETS basekit DESTINATION lib)
View
2 libs/coroutine/CMakeLists.txt
@@ -32,4 +32,4 @@ add_library(coroutine SHARED ${SRCS})
# The following add the install target, so we put libcoroutine.* in
# our install prefix.
-install(TARGETS coroutine DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+install(TARGETS coroutine DESTINATION lib)
View
2 libs/garbagecollector/CMakeLists.txt
@@ -25,4 +25,4 @@ target_link_libraries(garbagecollector basekit)
# The following add the install target, so we put libgarbagecollector.*
# in our install prefix.
-install(TARGETS garbagecollector DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+install(TARGETS garbagecollector DESTINATION lib)
View
2 libs/iovm/CMakeLists.txt
@@ -88,4 +88,4 @@ target_link_libraries(iovmall basekit coroutine garbagecollector)
# The following add the install target, so we put libvmall.* in our
# install prefix.
-install(TARGETS iovmall DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
+install(TARGETS iovmall DESTINATION lib)
View
2 tools/CMakeLists.txt
@@ -54,4 +54,4 @@ target_link_libraries(io basekit coroutine garbagecollector iovmall ${LIBS})
# The following add the install target, so we put io and io_static in our
# install prefix.
-install(TARGETS io io_static DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
+install(TARGETS io io_static DESTINATION bin)

0 comments on commit 4696f35

Please sign in to comment.