diff options
Diffstat (limited to 'libs/vkjson/CMakeLists.txt')
-rw-r--r-- | libs/vkjson/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/vkjson/CMakeLists.txt b/libs/vkjson/CMakeLists.txt index 3fb5704f..b6506090 100644 --- a/libs/vkjson/CMakeLists.txt +++ b/libs/vkjson/CMakeLists.txt @@ -38,5 +38,12 @@ else() add_executable(vkjson_unittest vkjson_unittest.cc) add_executable(vkjson_info vkjson_info.cc) endif() + target_link_libraries(vkjson_unittest vkjson) -target_link_libraries(vkjson_info vkjson vulkan-${MAJOR}) + +if(WIN32) + target_link_libraries(vkjson_info vkjson vulkan-${MAJOR}) +elseif(UNIX) + target_link_libraries(vkjson_info vkjson vulkan) +else() +endif() |