Exclude glew from manual build duo to errors. Using precompiled packages.
This commit is contained in:
parent
f7fd0c5942
commit
81e16e1c50
5 changed files with 12 additions and 10 deletions
|
|
@ -1,8 +1,10 @@
|
|||
project(Graphics)
|
||||
|
||||
find_package(GLEW REQUIRED)
|
||||
|
||||
### ---------------------- Externals --------------------- ###
|
||||
set(BINDINGS_INCLUDE ../Externals/glfw/include ../Externals/glew/include)
|
||||
set(BINDINGS_LIBS glfw glew_s Imgui Nanovg)
|
||||
set(BINDINGS_LIBS glfw Imgui Nanovg ${GLEW_LIBRARIES} GL)
|
||||
|
||||
|
||||
### ---------------------- Static Library --------------------- ###
|
||||
|
|
@ -24,4 +26,4 @@ enable_testing()
|
|||
file(GLOB TEST_SOURCES "./tests/*.cpp")
|
||||
add_executable(${PROJECT_NAME}Tests ${TEST_SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME}Tests ${PROJECT_NAME} Utils)
|
||||
add_test(NAME ${PROJECT_NAME}Tests COMMAND ${PROJECT_NAME}Tests)
|
||||
add_test(NAME ${PROJECT_NAME}Tests COMMAND ${PROJECT_NAME}Tests)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue