diff options
author | Jeremy Hayes <jeremy@lunarg.com> | 2016-02-08 12:14:51 -0700 |
---|---|---|
committer | Jeremy Hayes <jeremy@lunarg.com> | 2016-02-08 14:37:10 -0700 |
commit | f1782e31fe0bf9e448ed96e246b9d6279078fd32 (patch) | |
tree | b75f754b2eb82b05ae1971d612de5c8d499ac2c5 /libs | |
parent | c882eee531c883bdcb637549d9077e7dbb43b699 (diff) |
linux: use linux naming conventions
Diffstat (limited to 'libs')
-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() |