Cleanup in CMakeLists.txt (#1572)

This commit is contained in:
Andreas Süßenbach
2023-05-08 11:54:57 +02:00
committed by GitHub
parent d4d0ac4859
commit 40e76b7c24
123 changed files with 100 additions and 398 deletions

View File

@@ -12,17 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
cmake_minimum_required( VERSION 3.2 )
vulkan_hpp__setup_test(
NAME DispatchLoaderDynamicSharedLibraryClient
LIBRARIES DispatchLoaderDynamicSharedLibrary )
vulkan_hpp__setup_test( NAME DispatchLoaderDynamicSharedLibraryClient )
target_compile_definitions( DispatchLoaderDynamicSharedLibraryClient PRIVATE VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 VULKAN_HPP_STORAGE_SHARED )
target_link_libraries( DispatchLoaderDynamicSharedLibraryClient PRIVATE DispatchLoaderDynamicSharedLibrary )
target_compile_definitions( DispatchLoaderDynamicSharedLibraryClient
PRIVATE VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1
VULKAN_HPP_STORAGE_SHARED )
if( UNIX )
target_link_libraries( DispatchLoaderDynamicSharedLibraryClient PRIVATE ${CMAKE_DL_LIBS} )
endif()
set_target_properties( DispatchLoaderDynamicSharedLibraryClient PROPERTIES FOLDER "Tests" )
target_link_libraries( DispatchLoaderDynamicSharedLibraryClient PRIVATE utils )