Skip to content
Snippets Groups Projects
Commit 914bdd50 authored by Vicki Pfau's avatar Vicki Pfau
Browse files

CMake: Fix potential build failure on 64-bit Windows

parent 9f28a022
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,9 @@ if(BUILD_PYTHON)
if(APPLE)
set(PYBIND_LIBS "-undefined dynamic_lookup")
elseif(WIN32)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
add_definitions(-DMS_WIN64)
endif()
set(PYBIND_LIBS "${PYTHON_LIBRARY}")
endif()
target_link_libraries(retro retro-base ${PYBIND_LIBS} ${STATIC_LDFLAGS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment