diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-11-25 13:26:15 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-01 10:26:04 -0700 |
| commit | 9d452bdb2df85adff77c19ab85cd26b24cbeadbf (patch) | |
| tree | c48fdef356eb0ed86e1782b0ef972aac47af2d91 /CMakeLists.txt | |
| parent | 68d7d2390fc6080a00046e35f4b68b2eaa6cc9ea (diff) | |
| download | usermoji-9d452bdb2df85adff77c19ab85cd26b24cbeadbf.tar.xz | |
wsi: Moved definition of CreateXxxSurface extension to CMakefile
Removed component-specific definitions
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 39698e68..a933991a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,12 @@ project (VULKAN) # vulkan-<major>.dll (and other files). set(MAJOR "0") +if(WIN32) + add_definitions(-DVK_USE_PLATFORM_WIN32_KHR) +else() + add_definitions(-DVK_USE_PLATFORM_XCB_KHR) +endif() + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") # Header file for CMake settings |
