Commit b9c56a17 authored by calvin's avatar calvin

branches/zip: minor changes to CMakeLists.txt

All are non-functional changes:
- should check for long (not int), spotted by Sunny
- comment out the project definition, avoiding to generate another
  .sln file.
parent a0714b18
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
# property will not be set # property will not be set
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR) CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
PROJECT (INNODB_PLUGIN) # When PROJECT is defined, a separate .sln file will be generated.
# PROJECT (INNODB_PLUGIN)
MESSAGE(STATUS "Enter InnoDB ...") MESSAGE(STATUS "Enter InnoDB ...")
MESSAGE(STATUS "INNODB_DYNAMIC_PLUGIN: " ${INNODB_DYNAMIC_PLUGIN}) MESSAGE(STATUS "INNODB_DYNAMIC_PLUGIN: " ${INNODB_DYNAMIC_PLUGIN})
...@@ -44,8 +45,9 @@ MESSAGE(STATUS "MSVC: " ${MSVC}) ...@@ -44,8 +45,9 @@ MESSAGE(STATUS "MSVC: " ${MSVC})
# Check type sizes # Check type sizes
include(CheckTypeSize) include(CheckTypeSize)
# Currently, the checked results are not used.
CHECK_TYPE_SIZE(int SIZEOF_INT) CHECK_TYPE_SIZE(int SIZEOF_INT)
CHECK_TYPE_SIZE(int SIZEOF_LONG) CHECK_TYPE_SIZE(long SIZEOF_LONG)
CHECK_TYPE_SIZE(void* SIZEOF_VOID_P) CHECK_TYPE_SIZE(void* SIZEOF_VOID_P)
# Include directories under innobase # Include directories under innobase
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment