Skip to content

Commit

Permalink
CMakeLists tweaks for vulkan libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ehntoo committed Sep 11, 2022
1 parent bc30067 commit d97c287
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions scopehal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ link_directories(${GTKMM_LIBRARY_DIRS} ${SIGCXX_LIBRARY_DIRS})

find_library(LXI_LIB lxi)
find_library(LINUXGPIB_LIB gpib)
find_package(glfw3 REQUIRED)


# Additional Windows/Linux libraries
Expand Down Expand Up @@ -183,13 +184,9 @@ target_link_libraries(scopehal
${LIBFFTS_LIBRARIES}
${OpenMP_CXX_LIBRARIES}
${Vulkan_LIBRARIES}
SPIRV
glslang
Vulkan::Vulkan
OGLCompiler
GenericCodeGen
MachineIndependent
OSDependent
Vulkan::glslang
Vulkan::shaderc_combined
glfw
)
endif()
Expand All @@ -202,7 +199,9 @@ PUBLIC
${YAML_INCLUDES}

# TODO: this needs to come from FindPackage etc
/usr/include/glslang/Include/
/usr/include/glslang/Include
# for macOS:
/usr/local/include/glslang/Include
)

target_include_directories(scopehal
Expand Down

0 comments on commit d97c287

Please sign in to comment.