File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -66,18 +66,6 @@ if(MSVC)
6666 include_directories (${CMAKE_CURRENT_SOURCE_DIR} )
6767endif ()
6868
69- if (NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR )
70- # If we're doing an out of source build and the user has a zconf.h
71- # in their source tree...
72- if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR} /zconf.h)
73- message (STATUS "Renaming" )
74- message (STATUS " ${CMAKE_CURRENT_SOURCE_DIR} /zconf.h" )
75- message (STATUS "to 'zconf.h.included' because this file is included with zlib" )
76- message (STATUS "but CMake generates it automatically in the build directory." )
77- file (RENAME ${CMAKE_CURRENT_SOURCE_DIR} /zconf.h ${CMAKE_CURRENT_SOURCE_DIR} /zconf.h.included)
78- endif ()
79- endif ()
80-
8169set (ZLIB_PC ${CMAKE_CURRENT_BINARY_DIR} /zlib.pc)
8270configure_file ( ${CMAKE_CURRENT_SOURCE_DIR} /zlib.pc.cmakein
8371 ${ZLIB_PC} @ONLY)
You can’t perform that action at this time.
0 commit comments