summaryrefslogtreecommitdiff
path: root/build/cmake
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2015-05-15 12:01:38 +0200
committerRoger Meier <roger@apache.org>2015-05-15 15:44:22 +0200
commit86fded21b55573bb9240552a284f1f3d7255bd32 (patch)
tree6b7f0184cde4350fd73ca41c16940e9d792d58c4 /build/cmake
parent516e28a42d481725156d3d521d453c55b1dfd992 (diff)
downloadthrift-86fded21b55573bb9240552a284f1f3d7255bd32.tar.gz
THRIFT-2850 CMake: improve Windows support
use YY_NO_UNISTD_H and remove --wincompat
Diffstat (limited to 'build/cmake')
-rw-r--r--build/cmake/DefinePlatformSpecifc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cmake/DefinePlatformSpecifc.cmake b/build/cmake/DefinePlatformSpecifc.cmake
index 515bb184d..db411d516 100644
--- a/build/cmake/DefinePlatformSpecifc.cmake
+++ b/build/cmake/DefinePlatformSpecifc.cmake
@@ -65,7 +65,7 @@ if(MSVC)
# Windows build does not know how to make a shared library yet
# as there are no __declspec(dllexport) or exports files in the project.
if (WITH_SHARED_LIB)
- message (FATAL_ERROR "Windows build does not support shared library output yet!")
+ message (FATAL_ERROR "Windows build does not support shared library output yet, please set -DWITH_SHARED_LIB=off")
endif()
elseif(UNIX)