fix pybind

This commit is contained in:
Rick V 2020-04-16 03:00:04 -05:00
parent df634b7775
commit 96fc3cdd55
No known key found for this signature in database
GPG Key ID: C0EDC8723FDC3465
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ if(NOT MSVC_VERSION)
# to .r[o]data section one after the other!
add_compile_options(-fno-ident -Wa,-mbig-obj)
link_libraries( -lws2_32 -lshlwapi -ldbghelp -luser32 -liphlpapi -lpsapi -luserenv )
add_definitions(-DWINVER=0x0500 -D_WIN32_WINNT=0x0500)
if (CMAKE_C_COMPILER_AR AND STATIC_LINK_RUNTIME)
set(CMAKE_AR ${CMAKE_C_COMPILER_AR})
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")

View File

@ -1,4 +1,4 @@
set(CMAKE_SYSTEM_VERSION 6.0)
set(CMAKE_SYSTEM_VERSION 5.0)
# target environment on the build host system
# second one is for non-root installs