File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ ExternalProject_Get_Property(project_portaudio install_dir)
6565set (portaudio_install_dir ${install_dir} )
6666
6767if (CMAKE_SIZEOF_VOID_P EQUAL 4)
68- set (portaudio_libName portaudio_static ${CMAKE_STATIC_LIBRARY_SUFFIX } )
68+ set (portaudio_libName portaudio_static_x86 ${CMAKE_STATIC_LIBRARY_SUFFIX } )
6969else ()
7070 set (portaudio_libName portaudio_static_x64${CMAKE_STATIC_LIBRARY_SUFFIX } )
7171endif ()
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ if (NOT WIN32)
6161 )
6262endif ()
6363
64+ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC" AND CMAKE_SIZEOF_VOID_P EQUAL 4)
65+ set_target_properties (${PROJECT_NAME } PROPERTIES LINK_FLAGS "/SAFESEH:NO" )
66+ endif ()
67+
6468set_property (TARGET ${PROJECT_NAME } PROPERTY CXX_STANDARD ${CPP_STD} )
6569
6670install (TARGETS ${PROJECT_NAME } )
You can’t perform that action at this time.
0 commit comments