Don't try to link against pthreads on windows

This commit is contained in:
David Sansome 2010-11-03 21:11:43 +00:00
parent 4eb39712ef
commit 444f8ae03c
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,8 @@ if (APPLE)
endif (DARWIN_VERSION GREATER 9)
endif (APPLE)
find_package(Threads)
if(${CMAKE_BUILD_TYPE} MATCHES "Release")
add_definitions(-DNDEBUG)
add_definitions(-DQT_NO_DEBUG_OUTPUT)

View File

@ -729,8 +729,8 @@ target_link_libraries(clementine_lib
${QTSINGLEAPPLICATION_LIBRARIES}
${QTSINGLECOREAPPLICATION_LIBRARIES}
${QTIOCOMPRESSOR_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
dl
pthread
z
)