#
IF( WIN32_STYLE_FIND )
- IF( WXWIDGETS_USE_SHARED )
+ #DFCH: If x64 architecture
+ IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ IF( WXWIDGETS_USE_SHARED )
+ SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_amd64_dll" )
+ ELSE( WXWIDGETS_USE_SHARED )
+ SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_amd64_lib" )
+ ENDIF( WXWIDGETS_USE_SHARED )
+ ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8)
+ IF( WXWIDGETS_USE_SHARED )
SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_dll" )
- ELSE( WXWIDGETS_USE_SHARED )
+ ELSE( WXWIDGETS_USE_SHARED )
SET(WXWIDGETS_LIB_PATH "${WXWIDGETS_ROOT_DIR}/lib/vc_lib" )
- ENDIF( WXWIDGETS_USE_SHARED )
+ ENDIF( WXWIDGETS_USE_SHARED )
+ ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8)
SET( WXWIDGETS_LINK_DIRECTORIES ${WXWIDGETS_LIB_PATH} )
ELSE( WIN32_STYLE_FIND )