mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-13 08:05:52 +01:00
Default (don't force) platform
This let's the user specify the platform using "cmake -A".
This commit is contained in:
@@ -36,8 +36,12 @@ if( WIN32 )
|
|||||||
set( PYTHON_NAME "python2" )
|
set( PYTHON_NAME "python2" )
|
||||||
set( PYTHON_VERSION "2.7.17" )
|
set( PYTHON_VERSION "2.7.17" )
|
||||||
|
|
||||||
# For now, force the build to Win32 until we support 64-bit
|
# Force the build to 32-bit, unless the user specifically specified
|
||||||
set( CMAKE_GENERATOR_PLATFORM Win32 )
|
# something else.
|
||||||
|
if( NOT CMAKE_GENERATOR_PLATFORM )
|
||||||
|
message( STATUS "Defaulting to 32-bit build..." )
|
||||||
|
set( CMAKE_GENERATOR_PLATFORM Win32 )
|
||||||
|
endif()
|
||||||
elseif( APPLE )
|
elseif( APPLE )
|
||||||
# Define the OSX compatibility parameters
|
# Define the OSX compatibility parameters
|
||||||
set( CMAKE_OSX_ARCHITECTURES x86_64 CACHE INTERNAL "" )
|
set( CMAKE_OSX_ARCHITECTURES x86_64 CACHE INTERNAL "" )
|
||||||
|
|||||||
Reference in New Issue
Block a user