Skip to content

Commit

Permalink
[win32] arm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed May 30, 2024
1 parent a96d630 commit 1f353b0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/app/StartScreen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ StartScreen::StartScreen(const QPointer<QRecentFilesMenu>& recentFiles, QWidget*
// new version
auto m_getLastVersion = new HTTPGet{
QUrl("https://ossia.io/score-last-version.txt"),
[=](const QByteArray& data) {
[this, titleFont](const QByteArray& data) {
auto version = QString::fromUtf8(data.simplified());
if(SCORE_TAG_NO_V < version)
{
Expand All @@ -350,8 +350,7 @@ StartScreen::StartScreen(const QPointer<QRecentFilesMenu>& recentFiles, QWidget*
label->move(280, 170);
label->show();
}
},
[] {}};
}, [] {}};
}

float label_x = 300;
Expand Down
10 changes: 6 additions & 4 deletions src/plugins/score-plugin-gfx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,10 +328,12 @@ endif()
if(WIN32)
target_sources(${PROJECT_NAME} PRIVATE Gfx/CameraDevice.win32.cpp)

add_subdirectory("${3RDPARTY_FOLDER}/Spout" "${CMAKE_CURRENT_BINARY_DIR}/Spout")
target_link_libraries(${PROJECT_NAME} PRIVATE Spout)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAS_SPOUT)
list(APPEND SCORE_FEATURES_LIST spout)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
add_subdirectory("${3RDPARTY_FOLDER}/Spout" "${CMAKE_CURRENT_BINARY_DIR}/Spout")
target_link_libraries(${PROJECT_NAME} PRIVATE Spout)
target_compile_definitions(${PROJECT_NAME} PRIVATE HAS_SPOUT)
list(APPEND SCORE_FEATURES_LIST spout)
endif()
elseif(APPLE)
target_sources(${PROJECT_NAME} PRIVATE Gfx/CameraDevice.avf.mm)

Expand Down
6 changes: 6 additions & 0 deletions src/plugins/score-plugin-jit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ if(CMAKE_SYSTEM_PROCESSOR MATCHES arm)
return()
endif()

if(NOT APPLE)
if(CMAKE_SYSTEM_PROCESSOR MATCHES aarch64)
return()
endif()
endif()

if(SCORE_FAST_DEV_BUILD)
return()
endif()
Expand Down

0 comments on commit 1f353b0

Please sign in to comment.