Skip to content

Commit

Permalink
ffff
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Oct 29, 2024
1 parent cd5fbbd commit a299ff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ option(SCXT_USE_JACK "Build with JACK when appropriate" ON)
option(SCXT_COPY_PLUGIN_AFTER_BUILD "Copy plugin after build if possible" OFF)
option(SCXT_SKIP_PIE_CHANGE "Dont add -no-pie to executables" OFF)

if (${CMAKE_GENERATOR_PLATFORM} STREQUAL "arm64ec")
if ("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "arm64ec")
message(STATUS "Default skipping FLAC and MP3 on arm64ec for now")
option(SCXT_USE_FLAC "Include FLAC support" OFF)
option(SCXT_USE_MP3 "Include MP3 support" OFF)
Expand Down
4 changes: 2 additions & 2 deletions cmake/basic-installer.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ endif ()

string(TIMESTAMP SCXT_DATE "%Y-%m-%d")
if (WIN32)
if (${CMAKE_GENERATOR_PLATFORM} STREQUAL "arm64ec")
if ("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "arm64ec")
set(SCXT_ZIP ShortcircuitXT-${SCXT_DATE}-${VERSION_CHUNK}-${CMAKE_SYSTEM_NAME}-${CMAKE_GENERATOR_PLATFORM}.zip)
else()
set(SCXT_ZIP ShortcircuitXT-${SCXT_DATE}-${VERSION_CHUNK}-${CMAKE_SYSTEM_NAME}-${BITS}bit.zip)
Expand Down Expand Up @@ -161,7 +161,7 @@ elseif (WIN32)
COMMAND ${CMAKE_COMMAND} -E echo "ZIP Installer in: installer/${SCXT_ZIP}")
find_program(SHORTCIRCUIT_NUGET_EXE nuget.exe PATHS ENV "PATH")
if(SHORTCIRCUIT_NUGET_EXE)
if (${CMAKE_GENERATOR_PLATFORM} STREQUAL "arm64ec")
if ("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "arm64ec")
message(STATUS "Zip only for now on arm64ec")
else()
message(STATUS "NuGet found at ${SHORTCIRCUIT_NUGET_EXE}")
Expand Down
2 changes: 1 addition & 1 deletion libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ add_subdirectory(fmt)
# Modify this basedon the outcome of https://github.com/taocpp/PEGTL/issues/347
set(PEGTL_NO_STD_FILESYSTEM ON CACHE BOOL "Skip PEGTL FileSystem")
add_subdirectory(taocpp_json)
if (${CMAKE_GENERATOR_PLATFORM} STREQUAL "arm64ec")
if ("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "arm64ec")
target_compile_definitions(taocpp-json INTERFACE -DRYU_ONLY_64_BIT_OPS)
endif()
add_subdirectory(sqlite3-3.42.0)
Expand Down

0 comments on commit a299ff1

Please sign in to comment.