Work around build failures for tests on macOS >= 10.14

This one should be removed once we export the include directory for lmms
to tests properly.
This commit is contained in:
Hyunjin Song
2020-12-01 19:36:17 +09:00
parent d6b9853426
commit 9f0dc0fb1b

View File

@@ -8,6 +8,11 @@ SET(CMAKE_CXX_STANDARD 14)
SET(CMAKE_AUTOMOC ON)
# FIXME: remove this once we export include directories for LMMS
IF(LMMS_BUILD_APPLE)
INCLUDE_DIRECTORIES("/usr/local/include")
ENDIF()
ADD_EXECUTABLE(tests
EXCLUDE_FROM_ALL
main.cpp