Make test/FormatTraits.cpp valid for C++11.

This commit is contained in:
asuessenbach
2022-03-07 09:57:08 +01:00
parent 1f697d86cb
commit 7e6083e5b2
2 changed files with 30 additions and 16 deletions

View File

@@ -14,24 +14,22 @@
cmake_minimum_required(VERSION 3.2)
if (NOT TESTS_BUILD_ONLY_DYNAMIC)
project(FormatTraits)
project(FormatTraits)
set(HEADERS
)
set(HEADERS
)
set(SOURCES
FormatTraits.cpp
)
set(SOURCES
FormatTraits.cpp
)
source_group(headers FILES ${HEADERS})
source_group(sources FILES ${SOURCES})
source_group(headers FILES ${HEADERS})
source_group(sources FILES ${SOURCES})
add_executable(FormatTraits
${HEADERS}
${SOURCES}
)
add_executable(FormatTraits
${HEADERS}
${SOURCES}
)
set_target_properties(FormatTraits PROPERTIES FOLDER "Tests")
target_link_libraries(FormatTraits "${Vulkan_LIBRARIES}")
endif()
set_target_properties(FormatTraits PROPERTIES FOLDER "Tests")
target_link_libraries(FormatTraits "${Vulkan_LIBRARIES}")