summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-30 20:53:13 +0000
committersleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-30 20:53:13 +0000
commitb6b7ab609cb7b2612669fcdd6a86e396715b7b0d (patch)
tree87015a9db7ddc0f531932041cc18901a0adaf501 /CMakeLists.txt
parent59f62345abb95571cee2d677098d0cd5b3e61653 (diff)
downloadnavit-b6b7ab609cb7b2612669fcdd6a86e396715b7b0d.tar.gz
Fix:core:Fix CMake build of support/ code on Ubuntu (again)|This time it should not break other platforms.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5121 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ab542762..deae6a159 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -172,9 +172,7 @@ endif(NOT HAVE_LIBINTL)
if (CMAKE_USE_PTHREADS_INIT)
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
+ list(APPEND NAVIT_LIBS pthread)
endif(CMAKE_USE_PTHREADS_INIT)
if (Glib_FOUND)
set(HAVE_GLIB 1)