aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1fd25b7..43a9858 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,10 @@
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${Vulkan_INCLUDE_DIRS})
+if(UNIX)
+ include_directories(${X11_xcb_INCLUDE_PATH})
+endif()
+
add_executable(
path-tracer
main.cpp
@@ -11,8 +15,9 @@ add_executable(
vulkan-loader.cpp
utils.cpp
vk-renderer.cpp
+ window.cpp
)
if(UNIX)
- target_link_libraries(path-tracer ${CMAKE_DL_LIBS})
+ target_link_libraries(path-tracer ${CMAKE_DL_LIBS} ${X11_xcb_LIB})
endif()