projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77885c
)
Limit batch file creating to windows
author
Ralf Habacker
<ralf.habacker@freenet.de>
Sat, 2 Jul 2011 22:54:20 +0000
(
00:54
+0200)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Sat, 2 Jul 2011 23:39:09 +0000
(
01:39
+0200)
cmake/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/cmake/CMakeLists.txt
b/cmake/CMakeLists.txt
index
34a1083
..
ede0d3b
100644
(file)
--- a/
cmake/CMakeLists.txt
+++ b/
cmake/CMakeLists.txt
@@
-502,8
+502,12
@@
set (DBUS_INTERNAL_LIBRARY_DEFINITIONS "-DDBUS_STATIC_BUILD")
set (DBUS_INTERNAL_CLIENT_DEFINITIONS "-DDBUS_STATIC_BUILD")
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
+
+if (WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/dbus-env.bat.cmake ${CMAKE_BINARY_DIR}/bin/dbus-env.bat )
install_files(/bin FILES ${CMAKE_BINARY_DIR}/bin/dbus-env.bat)
+endif()
+
add_definitions(-DHAVE_CONFIG_H=1)
########### subdirs ###############