summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-29 15:14:28 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-29 15:14:28 +0000
commit9137178918cd636cb96a89254c8fc97d0e37a0e8 (patch)
tree00594fe3e643de8e5cc132fabca25888a567dca8
parent1d674c002eaa8ec63c8f87e57213aacb89fa78e0 (diff)
downloadnavit-svn-9137178918cd636cb96a89254c8fc97d0e37a0e8.tar.gz
Fix:Build:Set correct module name for libraries
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4796 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--cmake/navit_macros.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/navit_macros.cmake b/cmake/navit_macros.cmake
index 446905bc..a358b6bd 100644
--- a/cmake/navit_macros.cmake
+++ b/cmake/navit_macros.cmake
@@ -72,6 +72,7 @@ macro(supportlib_add_library LIB_NAME )
add_library(${LIB_NAME} ${ARGN})
TARGET_LINK_LIBRARIES(${LIB_NAME} ${${LIB_NAME}_LIBS})
SET_TARGET_PROPERTIES( ${LIB_NAME} PROPERTIES COMPILE_FLAGS "${NAVIT_COMPILE_FLAGS}")
+ SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES COMPILE_DEFINITIONS "MODULE=${LIB_NAME}")
endmacro(supportlib_add_library)
macro(message_error)