From fc9458dc83858ad76a5d589c3cd787ef5a1d5d16 Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Mon, 23 Nov 2009 19:35:11 -0200 Subject: Remove -lutil from target_link_libraries. This library *must* be provided by cmake. If any distro doesn't provide this by default, this is a distro bug, not a shiboken one. The other problem is that an unix/linux/gcc specific flag can't be placed here, because it doesn't makes sense on windows. --- libshiboken/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libshiboken/CMakeLists.txt') diff --git a/libshiboken/CMakeLists.txt b/libshiboken/CMakeLists.txt index 5118f4f5a..8f0fd7024 100644 --- a/libshiboken/CMakeLists.txt +++ b/libshiboken/CMakeLists.txt @@ -22,8 +22,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR} add_library(libshiboken SHARED ${libshiboken_SRC}) set_property(TARGET libshiboken PROPERTY PREFIX "") target_link_libraries(libshiboken - ${PYTHON_LIBRARIES} - -lutil) + ${PYTHON_LIBRARIES}) install(DIRECTORY . DESTINATION include/shiboken FILES_MATCHING PATTERN "*.h" -- cgit v1.2.3