Skip to content

Commit 768b3b2

Browse files
authored
Fix stk/rawwaves for msys2 (LMMS#7736)
1 parent 7f2761d commit 768b3b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/modules/FindSTK.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ if(STK_INCLUDE_DIRS)
1414
list(GET STK_INCLUDE_DIRS 0 STK_INCLUDE_DIR)
1515
find_path(STK_RAWWAVE_ROOT
1616
NAMES silence.raw sinewave.raw
17-
HINTS "${STK_INCLUDE_DIR}/.."
17+
HINTS "${STK_INCLUDE_DIR}/.." "${STK_INCLUDE_DIR}/../.."
1818
PATH_SUFFIXES share/stk/rawwaves share/libstk/rawwaves
1919
)
2020
endif()
2121

2222
include(FindPackageHandleStandardArgs)
2323

2424
find_package_handle_standard_args(STK
25-
REQUIRED_VARS STK_LIBRARY STK_INCLUDE_DIR
25+
REQUIRED_VARS STK_LIBRARY STK_INCLUDE_DIR STK_RAWWAVE_ROOT
2626
# STK doesn't appear to expose its version, so we can't pass it here
2727
)

0 commit comments

Comments
 (0)