aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-29 11:38:37 -0700
committerChris Robinson <[email protected]>2013-10-29 11:38:37 -0700
commit6e43757fedda8365c4cd24824460027ea9020d55 (patch)
treecc9a278987b242bae97f34840ced9c98805ef3a0 /CMakeLists.txt
parenta507d0aa752921e99ded109e6c6225026d756b51 (diff)
Remove the cmake option to use wine headers
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 468a8be0..178270af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -232,22 +232,6 @@ IF(WIN32)
ELSE()
SET(ALIGN_DECL "__declspec(aligned(x))")
ENDIF()
-
- OPTION(WINE "Enable use of Wine headers when compiling" OFF)
- IF(WINE)
- FIND_PATH(WINE_INCLUDE_DIR library.h
- PATHS
- /usr/include/wine
- /usr/local/include/wine
- CMAKE_FIND_ROOT_PATH_BOTH)
- IF(WINE_INCLUDE_DIR)
- MESSAGE(STATUS "Found Wine header files - ${WINE_INCLUDE_DIR}" )
- INCLUDE_DIRECTORIES("${WINE_INCLUDE_DIR}/windows")
- SET(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} "${WINE_INCLUDE_DIR}/windows")
- ELSE()
- MESSAGE(STATUS "Could not find Wine header files" )
- ENDIF()
- ENDIF()
ELSE()
SET(OLD_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS}")
# Yes GCC, really don't accept visibility modes you don't support