Fix defines in workflow files to enable compilation of tests and samples in CI. (#1595)
This commit is contained in:
committed by
GitHub
parent
9f89f760a6
commit
397ffad84a
@@ -12,11 +12,4 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
vulkan_hpp__setup_library(
|
||||
NAME UniqueHandleDefaultArguments
|
||||
SOURCES UniqueHandleDefaultArguments.cpp
|
||||
FOLDER "Tests" )
|
||||
|
||||
if( UNIX )
|
||||
target_link_libraries( UniqueHandleDefaultArguments PRIVATE ${CMAKE_DL_LIBS} )
|
||||
endif()
|
||||
vulkan_hpp__setup_test( NAME UniqueHandleDefaultArguments )
|
||||
|
||||
@@ -23,9 +23,10 @@ VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
|
||||
|
||||
#if defined( __x86_64__ ) || defined( _M_X64 )
|
||||
// On 32-bit systems the test is ambiguous.
|
||||
void test()
|
||||
int main( int /*argc*/, char ** /*argv*/ )
|
||||
{
|
||||
VkSurfaceKHR surface = 0;
|
||||
auto uniqueSurface = vk::UniqueSurfaceKHR( surface, vk::Instance() );
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user