Skip to content

Commit

Permalink
Try to fix AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf authored Oct 27, 2020
1 parent 7927bdd commit d56db57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/3rdparty/weakjack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ IF(LMMS_HAVE_WEAKJACK)
# Library stub for AppImages running on systems without jack
ADD_LIBRARY(weakjack MODULE weakjack/weak_libjack.c weakjack/weak_libjack.h)
TARGET_INCLUDE_DIRECTORIES(weakjack PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/weakjack ${JACK_INCLUDE_DIRS})

# jack.h imports windows.h, force NOMINMAX on a header we don't manage
TARGET_COMPILE_DEFINITIONS(weakjack PRIVATE NOMINMAX)

INSTALL(TARGETS weakjack LIBRARY DESTINATION "${PLUGIN_DIR}/optional")
ENDIF()

0 comments on commit d56db57

Please sign in to comment.