diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 17:28:14 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 18:01:47 -0200 |
commit | d0442ea7fdd623238674334889b6b096fa07b9d0 (patch) | |
tree | 04e8878b479263bb2b8537e836d51bc9417c0861 | |
parent | 51af8146a5c3b456fec32e1f62b17c178af390cd (diff) |
other binding does not link against sample binding.
-rw-r--r-- | tests/otherbinding/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/samplebinding/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/otherbinding/CMakeLists.txt b/tests/otherbinding/CMakeLists.txt index cec566eb7..b8c4096cf 100644 --- a/tests/otherbinding/CMakeLists.txt +++ b/tests/otherbinding/CMakeLists.txt @@ -32,12 +32,11 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${sample_BINARY_DIR} ${sample_BINARY_DIR}/sample ${libshiboken_SOURCE_DIR}) -add_library(other SHARED ${other_SRC}) +add_library(other MODULE ${other_SRC}) set_property(TARGET other PROPERTY PREFIX "") target_link_libraries(other libother libsample - sample ${PYTHON_LIBRARIES} libshiboken) diff --git a/tests/samplebinding/CMakeLists.txt b/tests/samplebinding/CMakeLists.txt index 179761e0d..9fa1ddc08 100644 --- a/tests/samplebinding/CMakeLists.txt +++ b/tests/samplebinding/CMakeLists.txt @@ -83,7 +83,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PYTHON_INCLUDE_PATH} ${libsample_SOURCE_DIR} ${libshiboken_SOURCE_DIR}) -add_library(sample SHARED ${sample_SRC}) +add_library(sample MODULE ${sample_SRC}) set_property(TARGET sample PROPERTY PREFIX "") target_link_libraries(sample libsample |