-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work started by @jpcima in sfztools/sfizz#848 adapted after repository split with newer VST3 SDK
- Loading branch information
Showing
27 changed files
with
5,425 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Find Linux system libraries | ||
add_library(dl INTERFACE) | ||
|
||
if(NOT WIN32 AND NOT APPLE) | ||
find_library(DL_LIBRARY "dl") | ||
target_link_libraries(dl INTERFACE "${DL_LIBRARY}") | ||
|
||
# JACK | ||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(JACK "jack" REQUIRED) | ||
|
||
# The X11 library | ||
find_package(X11 REQUIRED) | ||
add_library(sfizz_x11 INTERFACE) | ||
target_include_directories(sfizz_x11 INTERFACE "${X11_INCLUDE_DIR}") | ||
target_link_libraries(sfizz_x11 INTERFACE "${X11_X11_LIB}") | ||
add_library(sfizz::x11 ALIAS sfizz_x11) | ||
|
||
# The GtkMM library | ||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(GTKMM "gtkmm-3.0" REQUIRED) | ||
add_library(sfizz_gtkmm INTERFACE) | ||
target_include_directories(sfizz_gtkmm INTERFACE ${GTKMM_INCLUDE_DIRS}) | ||
target_link_libraries(sfizz_gtkmm INTERFACE ${GTKMM_LIBRARIES}) | ||
link_libraries(${GTKMM_LIBRARY_DIRS}) | ||
add_library(sfizz::gtkmm ALIAS sfizz_gtkmm) | ||
endif() | ||
|
||
add_library(sfizz::dl ALIAS dl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.