Browse Source

CMake: Link against ruc-test library

master
Riyyi 2 years ago
parent
commit
e926d3ce4a
  1. 1
      src/CMakeLists.txt
  2. 2
      vendor/CMakeLists.txt

1
src/CMakeLists.txt

@ -7,7 +7,6 @@ target_include_directories(${ENGINE} PUBLIC
"../vendor/glfw/include" "../vendor/glfw/include"
"../vendor/glm" "../vendor/glm"
"../vendor/json/include" "../vendor/json/include"
"../vendor/ruc/src"
"../vendor/sol2/include" "../vendor/sol2/include"
"../vendor/stb") "../vendor/stb")
target_link_libraries(${ENGINE} ${ENGINE}-dependencies) target_link_libraries(${ENGINE} ${ENGINE}-dependencies)

2
vendor/CMakeLists.txt vendored

@ -21,4 +21,4 @@ add_library(${ENGINE}-dependencies ${ENGINE_SOURCES})
target_include_directories(${ENGINE}-dependencies PUBLIC target_include_directories(${ENGINE}-dependencies PUBLIC
"glad/include" "glad/include"
"lua") "lua")
target_link_libraries(${ENGINE}-dependencies glfw ruc) target_link_libraries(${ENGINE}-dependencies glfw ruc ruc-test)

Loading…
Cancel
Save