Changeset: df8f910f0b0b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=df8f910f0b0b
Modified Files:
CMakeLists.txt
Branch: cmake-fun
Log Message:
DOn't check for pid_t on MSVC compilation.
diffs (36 lines):
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -697,7 +697,7 @@ if(NOT ${PYTHON2} STREQUAL "NO")
elseif(${PYTHON2} STREQUAL "YES")
message(FATAL_ERROR "Could not find PYTHON2_LIBDIR")
else()
- message(WARNING "Could not find PYTHON2_LIBDIR")
+ message(STATUS "Could not find PYTHON2_LIBDIR")
endif()
endif()
else()
@@ -770,7 +770,7 @@ if(NOT ${PYTHON3} STREQUAL "NO")
elseif(${PYTHON3} STREQUAL "YES")
message(FATAL_ERROR "Could not find PYTHON3_LIBDIR")
else()
- message(WARNING "Could not find PYTHON3_LIBDIR")
+ message(STATUS "Could not find PYTHON3_LIBDIR")
endif()
endif()
else()
@@ -1948,9 +1948,11 @@ else()
set(SIZEOF_SSIZE_T 4)
endif()
-check_type_size(pid_t SIZEOF_PID_T LANGUAGE C)
-if(NOT HAVE_SIZEOF_PID_T OR "${SIZEOF_PID_T}" STREQUAL "0")
- set(pid_t int)
+if(NOT MSVC)
+ check_type_size(pid_t SIZEOF_PID_T LANGUAGE C)
+ if(NOT HAVE_SIZEOF_PID_T OR "${SIZEOF_PID_T}" STREQUAL "0")
+ set(pid_t int)
+ endif()
endif()
check_type_size(off_t SIZEOF_OFF_T LANGUAGE C)
if(NOT HAVE_SIZEOF_OFF_T OR "${SIZEOF_OFF_T}" STREQUAL "0")
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list