Cleanup CMakeLists
This commit is contained in:
@@ -196,7 +196,7 @@ target_sources(wivrn PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/glyph_set.cpp)
|
||||
if(ANDROID)
|
||||
set(LICENSES_DIR "${CMAKE_ANDROID_ASSETS_DIRECTORIES}/licenses")
|
||||
else()
|
||||
set(LICENSES_DIR "licenses")
|
||||
set(LICENSES_DIR "${CMAKE_CURRENT_BINARY_DIR}/licenses")
|
||||
endif()
|
||||
|
||||
file(MAKE_DIRECTORY "${LICENSES_DIR}")
|
||||
|
||||
@@ -20,7 +20,6 @@ else ()
|
||||
SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/version.cpp.in
|
||||
)
|
||||
endif()
|
||||
file(GLOB LOCAL_SOURCE CONFIGURE_DEPENDS "*.cpp")
|
||||
|
||||
configure_file(wivrn_config.h.in wivrn_config.h)
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ target_link_libraries(wivrn-server PUBLIC wivrn-server-dbus)
|
||||
include(CompileGLSL)
|
||||
|
||||
file(GLOB VULKAN_SHADERS CONFIGURE_DEPENDS "shaders/*.glsl")
|
||||
target_sources(wivrn-server PRIVATE ${LOCAL_SOURCE} ${VULKAN_SHADERS})
|
||||
target_sources(wivrn-server PRIVATE ${VULKAN_SHADERS})
|
||||
wivrn_compile_glsl(wivrn-server ${VULKAN_SHADERS})
|
||||
|
||||
target_link_libraries(
|
||||
|
||||
Reference in New Issue
Block a user