Remove some unused config

develop
lethosor 2020-09-18 00:36:47 -04:00
parent b85759620f
commit 7efadc85a6
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 0 additions and 22 deletions

@ -18,28 +18,6 @@ option(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependenc
add_subdirectory(clsocket) add_subdirectory(clsocket)
ide_folder(clsocket "Depends") ide_folder(clsocket "Depends")
# assemble environment args to pass on to dependency projects
get_cmake_property(vars CACHE_VARIABLES)
foreach(var ${vars})
if(var MATCHES "^CMAKE_"
AND NOT var MATCHES "^CMAKE_CACHE"
AND NOT var MATCHES "^CMAKE_HOME"
AND NOT var MATCHES "^CMAKE_PROJECT")
list(APPEND CL_ARGS "-D${var}=${${var}}")
endif()
if(var MATCHES "^ZLIB")
list(APPEND CL_ARGS "-D${var}=${${var}}")
endif()
endforeach()
include(ExternalProject)
if(WIN32)
set(XLSXIO_C_FLAGS "${CMAKE_C_FLAGS} /DXML_STATIC")
else()
set(XLSXIO_C_FLAGS "${CMAKE_C_FLAGS} -DXML_STATIC")
endif()
# set the default values of libexpat options - the descriptions are left empty # set the default values of libexpat options - the descriptions are left empty
# because later option() calls *do* override those # because later option() calls *do* override those
set(EXPAT_BUILD_EXAMPLES OFF CACHE BOOL "") set(EXPAT_BUILD_EXAMPLES OFF CACHE BOOL "")