Exclude glew from manual build duo to errors. Using precompiled packages.
This commit is contained in:
parent
5a3e07f4f3
commit
1d48d390d3
5 changed files with 12 additions and 10 deletions
|
|
@ -1,11 +1,11 @@
|
|||
project(LibraryViewer)
|
||||
|
||||
find_package(ALSA REQUIRED)
|
||||
# find_package(PortAudio REQUIRED)
|
||||
find_package(GLEW REQUIRED)
|
||||
|
||||
### ---------------------- Externals --------------------- ###
|
||||
set(BINDINGS_INCLUDE ../Externals/glfw/include ../Externals/glew/include)
|
||||
set(BINDINGS_LIBS glfw glew_s Imgui Nanovg portaudio)
|
||||
set(BINDINGS_LIBS glfw Imgui Nanovg ${GLEW_LIBRARIES} GL portaudio)
|
||||
|
||||
### ---------------------- Static Library --------------------- ###
|
||||
file(GLOB SOURCES "./private/*.cpp" "./private/*/*.cpp")
|
||||
|
|
@ -22,4 +22,4 @@ file(COPY "applications/Font.ttf" DESTINATION "${CMAKE_BINARY_DIR}/${PROJECT_NAM
|
|||
|
||||
### -------------------------- Applications -------------------------- ###
|
||||
add_executable(libView ./applications/Entry.cpp)
|
||||
target_link_libraries(libView ${PROJECT_NAME} ${ALSA_LIBRARY})
|
||||
target_link_libraries(libView ${PROJECT_NAME} ${ALSA_LIBRARY})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue