diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-09 23:31:58 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-09 23:31:58 +0100 |
| commit | 78302e1982c1b7b727c95603611b19913f5c13d0 (patch) | |
| tree | 0389c971c0941006a9544beb48dc72136662050b /src/CMakeLists.txt | |
| parent | 2db0d27e7f1744443958717c19b732eed57455f2 (diff) | |
XCB window creation
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 7 |
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() |
