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:
b49e278
)
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>
Thu, 22 Sep 2011 18:27:58 +0000
(20:27 +0200)
cherry-picked
84b03cae585274bfe54e2a234dff72469cef581d
cmake/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/cmake/CMakeLists.txt
b/cmake/CMakeLists.txt
index
54a10e6
..
62f2e2a
100644
(file)
--- a/
cmake/CMakeLists.txt
+++ b/
cmake/CMakeLists.txt
@@
-503,8
+503,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 ###############