aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-08-20 10:58:39 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-08-20 11:23:09 -0300
commit5dcd01b645743816d6e7976b446d6f12eb7eaa33 (patch)
treef2a786b4e3145fa7fe0b658e1e076edf0fe83887
parentb0ae63688bb1299476188ad9f1c022553a25912a (diff)
Fixed install dir on windows.
-rw-r--r--libshiboken/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt
index 26112b9d6..8116bf972 100644
--- a/libshiboken/CMakeLists.txt
+++ b/libshiboken/CMakeLists.txt
@@ -52,7 +52,10 @@ install(FILES
threadstatesaver.h
typeresolver.h
DESTINATION include/shiboken)
-install(TARGETS libshiboken DESTINATION "${LIB_INSTALL_DIR}")
+install(TARGETS libshiboken EXPORT shiboken
+ LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
+ ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
+ RUNTIME DESTINATION bin)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ShibokenConfig.cmake"
DESTINATION "${LIB_INSTALL_DIR}/cmake/Shiboken-${libshiboken_VERSION}")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/ShibokenConfigVersion.cmake"