Skip to content

Commit

Permalink
FIX: added correct python dll for windows 64bit
Browse files Browse the repository at this point in the history
  • Loading branch information
febret committed Apr 22, 2016
1 parent 236ccfb commit f5af617
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Binary file added external/libs64/python27.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define __OMEGA_VERSION_

#define OMEGA_VERSION_MAJOR 13
#define OMEGA_VERSION_MINOR 0
#define OMEGA_VERSION_MINOR 1
#define OMEGA_VERSION_REVISION 0

#define _VSTH(v) #v
Expand Down
9 changes: 7 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ if(OMEGA_ENABLE_PYTHON)
set(PYTHON_LIBRARIES ${CMAKE_SOURCE_DIR}/modules/python/libs/python27.lib)
include_directories(${PYTHON_INCLUDE_DIRS})
# copy the python dll to the output folders
configure_file(${CMAKE_SOURCE_DIR}/external/libs32/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG} COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/external/libs32/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE} COPYONLY)
if(OMEGA_ARCH_32)
configure_file(${CMAKE_SOURCE_DIR}/external/libs32/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG} COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/external/libs32/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE} COPYONLY)
else()
configure_file(${CMAKE_SOURCE_DIR}/external/libs64/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG} COPYONLY)
configure_file(${CMAKE_SOURCE_DIR}/external/libs64/python27.dll ${CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE} COPYONLY)
endif()
else()
find_package(PythonLibs 2.7)
if(PYTHONLIBS_FOUND)
Expand Down

0 comments on commit f5af617

Please sign in to comment.